#234D8B#234D8B

#234D8B is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.113 H 258.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#234D8B
RGBrgb(35, 77, 139)
HSLhsl(216, 60%, 34%)
HSVhsv(216, 75%, 55%)
CMYKcmyk(74.8%, 44.6%, 0%, 45.5%)
CIE-LABlab(32.98, 8.05, -38.75)
CIE-LCHlch(32.98, 39.58, 281.73°)
OKLaboklab(42.46% -0.0231 -0.1109)
OKLCHoklch(42.46% 0.113 258.2)
XYZxyz(8.0055, 7.5283, 25.4523)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234D8B #8B6123
analogous
#23818B #234D8B #2D238B
triadic
#234D8B #8B234D #4D8B23
tetradic
#234D8B #8B2381 #8B6123 #238B2D
square
#234D8B #8B2381 #8B6123 #238B2D
split-complementary
#234D8B #8B2D23 #818B23
monochromatic
#0A1729 #17325A #234D8B #2F68BC #5488D4

Accessibility & contrast

On white

8.38
#234D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#234D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234D8B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234D8B#FFFFFF#000000##FFFFFF
##234D8B1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538D
Deuteranopia (green-blind)
#1B498A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #234d8b;
/* rgb */ color: rgb(35, 77, 139);
/* oklch */ color: oklch(42.5% 0.113 258.2);
Tailwind
colors: {
  custom: {
    50: '#6c7ead',
    500: '#234d8b',
    950: '#000000',
  },
}
SCSS
$custom: #234d8b;
$custom-light: #6c7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#234d8b",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 215.769,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42459,
    "c": 0.11325,
    "h": 258.2
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#234D8B
secondary
#B88F52
accent
#A345E3
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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