#234E8B#234E8B

#234E8B is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.112 H 257.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#234E8B
RGBrgb(35, 78, 139)
HSLhsl(215, 60%, 34%)
HSVhsv(215, 75%, 55%)
CMYKcmyk(74.8%, 43.9%, 0%, 45.5%)
CIE-LABlab(33.28, 7.38, -38.27)
CIE-LCHlch(33.28, 38.97, 280.92°)
OKLaboklab(42.69% -0.024 -0.1094)
OKLCHoklch(42.69% 0.112 257.6)
XYZxyz(8.0760, 7.6693, 25.4758)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234E8B #8B6023
analogous
#23828B #234E8B #2C238B
triadic
#234E8B #8B234E #4E8B23
tetradic
#234E8B #8B2382 #8B6023 #238B2C
square
#234E8B #8B2382 #8B6023 #238B2C
split-complementary
#234E8B #8B2C23 #828B23
monochromatic
#0A1729 #17335A #234E8B #2F69BC #5489D4

Accessibility & contrast

On white

8.29
#234E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#234E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234E8B
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234E8B#FFFFFF#000000##FFFFFF
##234E8B1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#1E4A8A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #234e8b;
/* rgb */ color: rgb(35, 78, 139);
/* oklch */ color: oklch(42.7% 0.112 257.6);
Tailwind
colors: {
  custom: {
    50: '#6c7fad',
    500: '#234e8b',
    950: '#000000',
  },
}
SCSS
$custom: #234e8b;
$custom-light: #6c7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#234e8b",
  "rgb": {
    "r": 35,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 215.192,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42694,
    "c": 0.11203,
    "h": 257.6
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#234E8B
secondary
#B88E52
accent
#A245E3
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #234E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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