#234D7E#234D7E

#234D7E is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.095 H 254.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#234D7E
RGBrgb(35, 77, 126)
HSLhsl(212, 57%, 32%)
HSVhsv(212, 72%, 49%)
CMYKcmyk(72.2%, 38.9%, 0%, 50.6%)
CIE-LABlab(32.19, 2.96, -31.99)
CIE-LCHlch(32.19, 32.13, 275.29°)
OKLaboklab(41.59% -0.0262 -0.091)
OKLCHoklch(41.59% 0.095 254)
XYZxyz(7.1115, 7.1707, 20.7439)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234D7E #7E5423
analogous
#237B7E #234D7E #27237E
triadic
#234D7E #7E234D #4D7E23
tetradic
#234D7E #7E237B #7E5423 #237E27
square
#234D7E #7E237B #7E5423 #237E27
split-complementary
#234D7E #7E2723 #7B7E23
monochromatic
#08121E #16304E #234D7E #306AAE #4E89CE

Accessibility & contrast

On white

8.63
#234D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#234D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234D7E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234D7E#FFFFFF#000000##FFFFFF
##234D7E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375080
Deuteranopia (green-blind)
#29487D
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #234d7e;
/* rgb */ color: rgb(35, 77, 126);
/* oklch */ color: oklch(41.6% 0.095 254.0);
Tailwind
colors: {
  custom: {
    50: '#6a7ea3',
    500: '#234d7e',
    950: '#000000',
  },
}
SCSS
$custom: #234d7e;
$custom-light: #6a7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#234d7e",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 212.308,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41591,
    "c": 0.09471,
    "h": 254
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#234D7E
secondary
#B0824C
accent
#9A48E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #234D7E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#234D7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva