#223E8B#223E8B

#223E8B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.133 H 265.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#223E8B
RGBrgb(34, 62, 139)
HSLhsl(224, 61%, 34%)
HSVhsv(224, 76%, 55%)
CMYKcmyk(75.5%, 55.4%, 0%, 45.5%)
CIE-LABlab(28.51, 18.14, -45.96)
CIE-LCHlch(28.51, 49.41, 291.54°)
OKLaboklab(39.03% -0.0104 -0.1324)
OKLCHoklch(39.03% 0.133 265.5)
XYZxyz(7.0409, 5.6487, 25.1403)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E8B #8B6F22
analogous
#22738B #223E8B #3B228B
triadic
#223E8B #8B223E #3E8B22
tetradic
#223E8B #8B2273 #8B6F22 #228B3B
square
#223E8B #8B2273 #8B6F22 #228B3B
split-complementary
#223E8B #8B3B22 #738B22
monochromatic
#0A1229 #16285A #223E8B #2E54BC #5375D5

Accessibility & contrast

On white

9.86
#223E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#223E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E8B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E8B#FFFFFF#000000##FFFFFF
##223E8B1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01488E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223e8b;
/* rgb */ color: rgb(34, 62, 139);
/* oklch */ color: oklch(39.0% 0.133 265.5);
Tailwind
colors: {
  custom: {
    50: '#6d72ad',
    500: '#223e8b',
    950: '#000000',
  },
}
SCSS
$custom: #223e8b;
$custom-light: #6d72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#223e8b",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 224,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39026,
    "c": 0.13277,
    "h": 265.5
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#223E8B
secondary
#B89D50
accent
#B944E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #223E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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