#223EA9#223EA9

#223EA9 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.174 H 266.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#223EA9
RGBrgb(34, 62, 169)
HSLhsl(228, 67%, 40%)
HSVhsv(228, 80%, 66%)
CMYKcmyk(79.9%, 63.3%, 0%, 33.7%)
CIE-LABlab(30.99, 29.82, -60.17)
CIE-LCHlch(30.99, 67.15, 296.36°)
OKLaboklab(41.66% -0.0095 -0.1741)
OKLCHoklch(41.66% 0.174 266.9)
XYZxyz(9.5412, 6.6488, 38.3089)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223EA9 #A98D22
analogous
#2281A9 #223EA9 #4A22A9
triadic
#223EA9 #A9223E #3EA922
tetradic
#223EA9 #A92281 #A98D22 #22A94A
square
#223EA9 #A92281 #A98D22 #22A94A
split-complementary
#223EA9 #A94A22 #81A922
monochromatic
#0D1943 #182B76 #223EA9 #3254D6 #657FE0

Accessibility & contrast

On white

9.01
#223EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#223EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223EA9
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223EA9#FFFFFF#000000##FFFFFF
##223EA91.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #223ea9;
/* rgb */ color: rgb(34, 62, 169);
/* oklch */ color: oklch(41.7% 0.174 266.9);
Tailwind
colors: {
  custom: {
    50: '#7473c4',
    500: '#223ea9',
    950: '#000000',
  },
}
SCSS
$custom: #223ea9;
$custom-light: #7473c4;
$custom-dark: #000000;
JSON
{
  "hex": "#223ea9",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 227.556,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41659,
    "c": 0.17434,
    "h": 266.9
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#223EA9
secondary
#C5B161
accent
#C63EE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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