#234D8D#234D8D

#234D8D is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.116 H 258.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#234D8D
RGBrgb(35, 77, 141)
HSLhsl(216, 60%, 35%)
HSVhsv(216, 75%, 55%)
CMYKcmyk(75.2%, 45.4%, 0%, 44.7%)
CIE-LABlab(33.11, 8.84, -39.77)
CIE-LCHlch(33.11, 40.74, 282.53°)
OKLaboklab(42.6% -0.0227 -0.1139)
OKLCHoklch(42.6% 0.116 258.7)
XYZxyz(8.1530, 7.5873, 26.2289)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234D8D #8D6323
analogous
#23828D #234D8D #2E238D
triadic
#234D8D #8D234D #4D8D23
tetradic
#234D8D #8D2382 #8D6323 #238D2E
square
#234D8D #8D2382 #8D6323 #238D2E
split-complementary
#234D8D #8D2E23 #828D23
monochromatic
#0B172B #17325C #234D8D #2F68BE #5588D5

Accessibility & contrast

On white

8.34
#234D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#234D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234D8D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234D8D#FFFFFF#000000##FFFFFF
##234D8D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538F
Deuteranopia (green-blind)
#18498C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #234d8d;
/* rgb */ color: rgb(35, 77, 141);
/* oklch */ color: oklch(42.6% 0.116 258.7);
Tailwind
colors: {
  custom: {
    50: '#6d7eaf',
    500: '#234d8d',
    950: '#000000',
  },
}
SCSS
$custom: #234d8d;
$custom-light: #6d7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#234d8d",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 216.226,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42599,
    "c": 0.1161,
    "h": 258.7
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#234D8D
secondary
#B99053
accent
#A444E3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #234D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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