#234E87#234E87

#234E87 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.106 H 256.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#234E87
RGBrgb(35, 78, 135)
HSLhsl(214, 59%, 33%)
HSVhsv(214, 74%, 53%)
CMYKcmyk(74.1%, 42.2%, 0%, 47.1%)
CIE-LABlab(33.04, 5.81, -36.21)
CIE-LCHlch(33.04, 36.67, 279.12°)
OKLaboklab(42.42% -0.0249 -0.1034)
OKLCHoklch(42.42% 0.106 256.4)
XYZxyz(7.7891, 7.5545, 23.9646)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234E87 #875C23
analogous
#238087 #234E87 #2A2387
triadic
#234E87 #87234E #4E8723
tetradic
#234E87 #872380 #875C23 #23872A
square
#234E87 #872380 #875C23 #23872A
split-complementary
#234E87 #872A23 #808723
monochromatic
#0A1626 #163256 #234E87 #306AB8 #5289D2

Accessibility & contrast

On white

8.36
#234E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#234E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234E87
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234E87#FFFFFF#000000##FFFFFF
##234E871.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335389
Deuteranopia (green-blind)
#234986
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #234e87;
/* rgb */ color: rgb(35, 78, 135);
/* oklch */ color: oklch(42.4% 0.106 256.4);
Tailwind
colors: {
  custom: {
    50: '#6c7faa',
    500: '#234e87',
    950: '#000000',
  },
}
SCSS
$custom: #234e87;
$custom-light: #6c7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#234e87",
  "rgb": {
    "r": 35,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 214.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42423,
    "c": 0.10633,
    "h": 256.4
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#234E87
secondary
#B68A50
accent
#9F46E2
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #234E87

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

Preview Lab → · Contrast checker → · Palette generator →

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