#223E9A#223E9A

#223E9A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.154 H 266.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#223E9A
RGBrgb(34, 62, 154)
HSLhsl(226, 64%, 37%)
HSVhsv(226, 78%, 60%)
CMYKcmyk(77.9%, 59.7%, 0%, 39.6%)
CIE-LABlab(29.71, 24.04, -53.21)
CIE-LCHlch(29.71, 58.39, 294.31°)
OKLaboklab(40.3% -0.0096 -0.1537)
OKLCHoklch(40.3% 0.154 266.4)
XYZxyz(8.2130, 6.1175, 31.3135)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E9A #9A7E22
analogous
#227A9A #223E9A #42229A
triadic
#223E9A #9A223E #3E9A22
tetradic
#223E9A #9A227A #9A7E22 #229A42
square
#223E9A #9A227A #9A7E22 #229A42
split-complementary
#223E9A #9A4222 #7A9A22
monochromatic
#0C1636 #172A68 #223E9A #2D52CC #5B79DB

Accessibility & contrast

On white

9.44
#223E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#223E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E9A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E9A#FFFFFF#000000##FFFFFF
##223E9A1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223e9a;
/* rgb */ color: rgb(34, 62, 154);
/* oklch */ color: oklch(40.3% 0.154 266.4);
Tailwind
colors: {
  custom: {
    50: '#7172b9',
    500: '#223e9a',
    950: '#000000',
  },
}
SCSS
$custom: #223e9a;
$custom-light: #7172b9;
$custom-dark: #000000;
JSON
{
  "hex": "#223e9a",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 226,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40303,
    "c": 0.15397,
    "h": 266.4
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#223E9A
secondary
#BFA758
accent
#C041E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #223E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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