#223E9B#223E9B

#223E9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.155 H 266.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#223E9B
RGBrgb(34, 62, 155)
HSLhsl(226, 64%, 37%)
HSVhsv(226, 78%, 61%)
CMYKcmyk(78.1%, 60%, 0%, 39.2%)
CIE-LABlab(29.79, 24.43, -53.68)
CIE-LCHlch(29.79, 58.98, 294.47°)
OKLaboklab(40.39% -0.0096 -0.1551)
OKLCHoklch(40.39% 0.155 266.5)
XYZxyz(8.2966, 6.1510, 31.7540)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E9B #9B7F22
analogous
#227A9B #223E9B #43229B
triadic
#223E9B #9B223E #3E9B22
tetradic
#223E9B #9B227A #9B7F22 #229B43
square
#223E9B #9B227A #9B7F22 #229B43
split-complementary
#223E9B #9B4322 #7A9B22
monochromatic
#0C1637 #172A69 #223E9B #2D52CD #5C7ADB

Accessibility & contrast

On white

9.42
#223E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#223E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E9B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E9B#FFFFFF#000000##FFFFFF
##223E9B1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223e9b;
/* rgb */ color: rgb(34, 62, 155);
/* oklch */ color: oklch(40.4% 0.155 266.5);
Tailwind
colors: {
  custom: {
    50: '#7172b9',
    500: '#223e9b',
    950: '#000000',
  },
}
SCSS
$custom: #223e9b;
$custom-light: #7172b9;
$custom-dark: #000000;
JSON
{
  "hex": "#223e9b",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 226.116,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40391,
    "c": 0.15536,
    "h": 266.5
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#223E9B
secondary
#C0A859
accent
#C141E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #223E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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