#234D87#234D87

#234D87 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.2% C 0.108 H 257.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#234D87
RGBrgb(35, 77, 135)
HSLhsl(215, 59%, 33%)
HSVhsv(215, 74%, 53%)
CMYKcmyk(74.1%, 43%, 0%, 47.1%)
CIE-LABlab(32.73, 6.48, -36.70)
CIE-LCHlch(32.73, 37.26, 280.01°)
OKLaboklab(42.18% -0.0239 -0.1048)
OKLCHoklch(42.18% 0.108 257.1)
XYZxyz(7.7186, 7.4135, 23.9411)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234D87 #875D23
analogous
#237F87 #234D87 #2B2387
triadic
#234D87 #87234D #4D8723
tetradic
#234D87 #87237F #875D23 #23872B
square
#234D87 #87237F #875D23 #23872B
split-complementary
#234D87 #872B23 #7F8723
monochromatic
#0A1626 #163156 #234D87 #3069B8 #5288D2

Accessibility & contrast

On white

8.46
#234D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#234D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234D87
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234D87#FFFFFF#000000##FFFFFF
##234D871.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315289
Deuteranopia (green-blind)
#204986
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #234d87;
/* rgb */ color: rgb(35, 77, 135);
/* oklch */ color: oklch(42.2% 0.108 257.1);
Tailwind
colors: {
  custom: {
    50: '#6c7eaa',
    500: '#234d87',
    950: '#000000',
  },
}
SCSS
$custom: #234d87;
$custom-light: #6c7eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#234d87",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 214.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42184,
    "c": 0.10753,
    "h": 257.1
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#234D87
secondary
#B68B50
accent
#A046E2
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234D87

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

Preview Lab → · Contrast checker → · Palette generator →

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