#234E8E#234E8E

#234E8E is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.116 H 258.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#234E8E
RGBrgb(35, 78, 142)
HSLhsl(216, 60%, 35%)
HSVhsv(216, 75%, 56%)
CMYKcmyk(75.4%, 45.1%, 0%, 44.3%)
CIE-LABlab(33.47, 8.56, -39.80)
CIE-LCHlch(33.47, 40.71, 282.14°)
OKLaboklab(42.9% -0.0234 -0.1139)
OKLCHoklch(42.9% 0.116 258.4)
XYZxyz(8.2982, 7.7582, 26.6461)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234E8E #8E6323
analogous
#23848E #234E8E #2E238E
triadic
#234E8E #8E234E #4E8E23
tetradic
#234E8E #8E2384 #8E6323 #238E2E
square
#234E8E #8E2384 #8E6323 #238E2E
split-complementary
#234E8E #8E2E23 #848E23
monochromatic
#0B182C #17335D #234E8E #2F69BF #5689D5

Accessibility & contrast

On white

8.23
#234E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#234E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234E8E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234E8E#FFFFFF#000000##FFFFFF
##234E8E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#1A4A8D
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #234e8e;
/* rgb */ color: rgb(35, 78, 142);
/* oklch */ color: oklch(42.9% 0.116 258.4);
Tailwind
colors: {
  custom: {
    50: '#6d7faf',
    500: '#234e8e',
    950: '#000000',
  },
}
SCSS
$custom: #234e8e;
$custom-light: #6d7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#234e8e",
  "rgb": {
    "r": 35,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 215.888,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.11631,
    "h": 258.4
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#234E8E
secondary
#B99053
accent
#A444E4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #234E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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