#223E8A#223E8A

#223E8A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.131 H 265.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#223E8A
RGBrgb(34, 62, 138)
HSLhsl(224, 60%, 34%)
HSVhsv(224, 75%, 54%)
CMYKcmyk(75.4%, 55.1%, 0%, 45.9%)
CIE-LABlab(28.43, 17.75, -45.46)
CIE-LCHlch(28.43, 48.81, 291.32°)
OKLaboklab(38.94% -0.0105 -0.1309)
OKLCHoklch(38.94% 0.131 265.4)
XYZxyz(6.9681, 5.6196, 24.7573)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E8A #8A6E22
analogous
#22728A #223E8A #3A228A
triadic
#223E8A #8A223E #3E8A22
tetradic
#223E8A #8A2272 #8A6E22 #228A3A
square
#223E8A #8A2272 #8A6E22 #228A3A
split-complementary
#223E8A #8A3A22 #728A22
monochromatic
#0A1228 #162859 #223E8A #2E54BB #5275D4

Accessibility & contrast

On white

9.89
#223E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#223E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E8A
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E8A#FFFFFF#000000##FFFFFF
##223E8A1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #223e8a;
/* rgb */ color: rgb(34, 62, 138);
/* oklch */ color: oklch(38.9% 0.131 265.4);
Tailwind
colors: {
  custom: {
    50: '#6d72ad',
    500: '#223e8a',
    950: '#000000',
  },
}
SCSS
$custom: #223e8a;
$custom-light: #6d72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#223e8a",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 223.846,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38943,
    "c": 0.13133,
    "h": 265.4
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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