#234F82#234F82

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

Color values

HEX#234F82
RGBrgb(35, 79, 130)
HSLhsl(212, 58%, 32%)
HSVhsv(212, 73%, 51%)
CMYKcmyk(73.1%, 39.2%, 0%, 49%)
CIE-LABlab(33.05, 3.20, -33.11)
CIE-LCHlch(33.05, 33.26, 275.52°)
OKLaboklab(42.34% -0.0272 -0.0943)
OKLCHoklch(42.34% 0.098 253.9)
XYZxyz(7.5169, 7.5602, 22.1779)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F82 #825623
analogous
#237E82 #234F82 #272382
triadic
#234F82 #82234F #4F8223
tetradic
#234F82 #82237E #825623 #238227
square
#234F82 #82237E #825623 #238227
split-complementary
#234F82 #822723 #7E8223
monochromatic
#091422 #163252 #234F82 #306CB2 #508BD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##234F82#FFFFFF#000000##FFFFFF
##234F821.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)
#385384
Deuteranopia (green-blind)
#294A81
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #234f82;
/* rgb */ color: rgb(35, 79, 130);
/* oklch */ color: oklch(42.3% 0.098 253.9);
Tailwind
colors: {
  custom: {
    50: '#6b7fa6',
    500: '#234f82',
    950: '#000000',
  },
}
SCSS
$custom: #234f82;
$custom-light: #6b7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#234f82",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 212.211,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.0981,
    "h": 253.9
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#234F82
secondary
#B3844D
accent
#9A47E1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #234F82

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

Preview Lab → · Contrast checker → · Palette generator →

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