#234F87#234F87

#234F87 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.105 H 255.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#234F87
RGBrgb(35, 79, 135)
HSLhsl(214, 59%, 33%)
HSVhsv(214, 74%, 53%)
CMYKcmyk(74.1%, 41.5%, 0%, 47.1%)
CIE-LABlab(33.35, 5.15, -35.72)
CIE-LCHlch(33.35, 36.09, 278.20°)
OKLaboklab(42.66% -0.0259 -0.1019)
OKLCHoklch(42.66% 0.105 255.7)
XYZxyz(7.8607, 7.6977, 23.9885)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F87 #875B23
analogous
#238187 #234F87 #292387
triadic
#234F87 #87234F #4F8723
tetradic
#234F87 #872381 #875B23 #238729
square
#234F87 #872381 #875B23 #238729
split-complementary
#234F87 #872923 #818723
monochromatic
#0A1626 #163356 #234F87 #306BB8 #528BD2

Accessibility & contrast

On white

8.27
#234F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#234F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F87
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F87#FFFFFF#000000##FFFFFF
##234F871.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355389
Deuteranopia (green-blind)
#254A86
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #234f87;
/* rgb */ color: rgb(35, 79, 135);
/* oklch */ color: oklch(42.7% 0.105 255.7);
Tailwind
colors: {
  custom: {
    50: '#6c7faa',
    500: '#234f87',
    950: '#000000',
  },
}
SCSS
$custom: #234f87;
$custom-light: #6c7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#234f87",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 213.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42662,
    "c": 0.10515,
    "h": 255.7
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#234F87
secondary
#B68950
accent
#9D46E2
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #234F87

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

Preview Lab → · Contrast checker → · Palette generator →

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