#234D8A#234D8A

#234D8A is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.112 H 258.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#234D8A
RGBrgb(35, 77, 138)
HSLhsl(216, 60%, 34%)
HSVhsv(216, 75%, 54%)
CMYKcmyk(74.6%, 44.2%, 0%, 45.9%)
CIE-LABlab(32.92, 7.66, -38.24)
CIE-LCHlch(32.92, 39.00, 281.32°)
OKLaboklab(42.39% -0.0233 -0.1094)
OKLCHoklch(42.39% 0.112 258)
XYZxyz(7.9328, 7.4992, 25.0692)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234D8A #8A6023
analogous
#23818A #234D8A #2D238A
triadic
#234D8A #8A234D #4D8A23
tetradic
#234D8A #8A2381 #8A6023 #238A2D
square
#234D8A #8A2381 #8A6023 #238A2D
split-complementary
#234D8A #8A2D23 #818A23
monochromatic
#0A1728 #173259 #234D8A #2F68BB #5488D4

Accessibility & contrast

On white

8.40
#234D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#234D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234D8A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234D8A#FFFFFF#000000##FFFFFF
##234D8A1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538C
Deuteranopia (green-blind)
#1D4989
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #234d8a;
/* rgb */ color: rgb(35, 77, 138);
/* oklch */ color: oklch(42.4% 0.112 258.0);
Tailwind
colors: {
  custom: {
    50: '#6c7eac',
    500: '#234d8a',
    950: '#000000',
  },
}
SCSS
$custom: #234d8a;
$custom-light: #6c7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#234d8a",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 215.534,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4239,
    "c": 0.11182,
    "h": 258
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#234D8A
secondary
#B78E51
accent
#A245E3
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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