#234E8D#234E8D

#234E8D is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.115 H 258.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#234E8D
RGBrgb(35, 78, 141)
HSLhsl(216, 60%, 35%)
HSVhsv(216, 75%, 55%)
CMYKcmyk(75.2%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.41, 8.17, -39.29)
CIE-LCHlch(33.41, 40.13, 281.74°)
OKLaboklab(42.83% -0.0236 -0.1124)
OKLCHoklch(42.83% 0.115 258.1)
XYZxyz(8.2235, 7.7283, 26.2524)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234E8D #8D6223
analogous
#23838D #234E8D #2D238D
triadic
#234E8D #8D234E #4E8D23
tetradic
#234E8D #8D2383 #8D6223 #238D2D
square
#234E8D #8D2383 #8D6223 #238D2D
split-complementary
#234E8D #8D2D23 #838D23
monochromatic
#0B182B #17335C #234E8D #2F69BE #5589D5

Accessibility & contrast

On white

8.25
#234E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234E8D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234E8D#FFFFFF#000000##FFFFFF
##234E8D1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F548F
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #234e8d;
/* rgb */ color: rgb(35, 78, 141);
/* oklch */ color: oklch(42.8% 0.115 258.1);
Tailwind
colors: {
  custom: {
    50: '#6d7faf',
    500: '#234e8d',
    950: '#000000',
  },
}
SCSS
$custom: #234e8d;
$custom-light: #6d7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#234e8d",
  "rgb": {
    "r": 35,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 215.66,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42833,
    "c": 0.11488,
    "h": 258.1
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #234E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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