#234F8A#234F8A

#234F8A is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.9% C 0.109 H 256.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#234F8A
RGBrgb(35, 79, 138)
HSLhsl(214, 60%, 34%)
HSVhsv(214, 75%, 54%)
CMYKcmyk(74.6%, 42.8%, 0%, 45.9%)
CIE-LABlab(33.53, 6.32, -37.27)
CIE-LCHlch(33.53, 37.80, 279.63°)
OKLaboklab(42.86% -0.0252 -0.1065)
OKLCHoklch(42.86% 0.109 256.7)
XYZxyz(8.0749, 7.7834, 25.1166)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F8A #8A5E23
analogous
#23838A #234F8A #2B238A
triadic
#234F8A #8A234F #4F8A23
tetradic
#234F8A #8A2383 #8A5E23 #238A2B
square
#234F8A #8A2383 #8A5E23 #238A2B
split-complementary
#234F8A #8A2B23 #838A23
monochromatic
#0A1728 #173359 #234F8A #2F6BBB #548AD4

Accessibility & contrast

On white

8.21
#234F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#234F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F8A
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F8A#FFFFFF#000000##FFFFFF
##234F8A1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#214A89
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #234f8a;
/* rgb */ color: rgb(35, 79, 138);
/* oklch */ color: oklch(42.9% 0.109 256.7);
Tailwind
colors: {
  custom: {
    50: '#6c7fac',
    500: '#234f8a',
    950: '#000000',
  },
}
SCSS
$custom: #234f8a;
$custom-light: #6c7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#234f8a",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 214.369,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42863,
    "c": 0.10941,
    "h": 256.7
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#234F8A
secondary
#B78C51
accent
#9F45E3
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #234F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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