Skip to content

#233f40

a deep, soft cyan · cool · closest name: Dark Slate Gray

RGB
35, 63, 64
HSL
182°, 29%, 19%
CMYK
45, 2, 0, 75
Luminance
0.0428

At a glance

Every number on this page in one read: what #233f40 is made of, how bright it looks, and which way it leans.

Hex
#233f40
Hue
182°
cyan
Saturation
29%
soft
Lightness
19%
deep
Brightness
25%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0428
WCAG relative
Temperature
Cool
82/100 cool
Color family
Cyan
Tone
Soft
Best ink
White
11.31:1
Closest name
Dark Slate Gray
ΔE2000 5.2
Where it sits
Hue182° of 360°
Saturation29%
Lightness19%
Temperature
Warm ← → Cool82% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#233f40
RGBrgb(35, 63, 64)
HSLhsl(182, 29%, 19%)
CMYKcmyk(45%, 2%, 0%, 75%)
LABlab(24.6 -10.3 -4.0)
LCHlch(24.6 11.0 201.1)
OKLCHoklch(0.346 0.034 198.6)
Decimal2309952
Display P3color(display-p3 0.137 0.247 0.251)

Copy-ready code

/* CSS */
color: #233f40;
background-color: #233f40;
/* Tailwind (arbitrary) */
class="text-[#233f40] bg-[#233f40]"
/* SCSS */
$brand: #233f40;
/* SwiftUI */
Color(red: 0.137, green: 0.247, blue: 0.251)
/* Android */
Color.parseColor("#233f40")
/* Flutter */
Color(0xFF233F40)
/* Python / OpenCV (BGR) */
(64, 63, 35)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #233f40 · 11.31:1
Use #ffffffAAA at every size.
Aa
White text · 11.31:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.86:1
AA fail · AA large fail · AAA fail
Reading the other direction: #233f40 as text scores 11.31:1 on white and 1.86:1 on black.

Accessibility — WCAG contrast

Aa
#233f40 on white: 11.31:1
AA ✓ pass · AA-large · AAA
Aa
#233f40 on black: 1.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3B3D40
deuteranopia · #363940
tritanopia · #16413F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #233f40 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6F9F9
#ECF3F3
#D5E6E6
#B6D6D7
#92C2C4
#6EADB0
#579C9E
#488284
#3A686A
#2D4D4E
#233f40
Base = 950Lightest = 50 · #F6F9F9Darkest = 950 · #233f40
:root {
  --brand-50: #F6F9F9;
  --brand-100: #ECF3F3;
  --brand-200: #D5E6E6;
  --brand-300: #B6D6D7;
  --brand-400: #92C2C4;
  --brand-500: #6EADB0;
  --brand-600: #579C9E;
  --brand-700: #488284;
  --brand-800: #3A686A;
  --brand-900: #2D4D4E;
  --brand-950: #233f40;
  --brand: #233f40;
  --brand-ink: #ffffff;
}

Colors that work with #233f40

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F5F9FA
Tinted page background
Border#CAE1E2
Hairlines and dividers
Muted text#519294
Captions on the surface
Accent#422128
Second voice, not a rival
Dark variant#2D5152
Hover, pressed, headers
Light variant#EFF6F6
Selected rows, tints
Dark surface#142424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #233f40

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#402423
Analogous left#234032
Analogous right#233040
Split-complement 1#402330
Split-complement 2#403223
Triadic 1#40233F
Triadic 2#3F4023
Tetradic#322340

RGB percentages

Red13.7%
Green24.7%
Blue25.1%

CMYK percentages

Cyan45.3%
Magenta1.6%
Yellow0.0%
Key (black)74.9%

Color previews

#233f40 text on a black background

contrast 1.86:1

Card sample

#233f40 text on a white background

contrast 11.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #233f40;
Background color
Panel with #233f40 background
background-color: #233f40;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #233f40;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(35, 63, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(35, 63, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #233f40;
background: linear-gradient(135deg, #233f40, #232C40);

Monochromatic scale

Palettes built from #233f40

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#233f40 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#233f40, answered

What color is #233f40?

#233f40 is a deep soft cyan, closest to Dark Slate Gray (ΔE2000 5.2). It sits at 182° on the hue wheel with 29% saturation and 19% lightness, which reads as cool.

What is the RGB value of #233f40?

rgb(35, 63, 64) — 35 red, 63 green and 64 blue out of 255, or 13.7% / 24.7% / 25.1% by channel.

Is #233f40 a light or a dark color?

It is a dark color. Relative luminance is 0.0428 and perceived brightness is 22%, so white text on it reaches 11.31:1.

Should I use black or white text on #233f40?

White. It scores 11.31:1 against #233f40, versus 1.86:1 for black — AAA at any size.

What is the complementary color of #233f40?

#402423 sits directly opposite on the wheel. Softer options are the split-complements #402330 and #403223, which give the same contrast with far less vibration.

What colors go well with #233f40?

For interface work: #F5F9FA as the surface, #CAE1E2 for borders, #519294 for secondary text, #422128 as an accent and #2D5152 for hover and pressed states. For a palette, the analogous pair #234032 and #233040 stays calm, while #402423 is the loudest partner.

What is #233f40 in CMYK for printing?

cmyk(45%, 2%, 0%, 75%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #233f40 warm or cool?

Cool — it scores 82 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #234036; nudged cooler, #223541.

Work with #233f40 in the Color Lab