#222689#222689

#222689 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.160 H 272.4°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#222689
RGBrgb(34, 38, 137)
HSLhsl(238, 60%, 34%)
HSVhsv(238, 75%, 54%)
CMYKcmyk(75.2%, 72.3%, 0%, 46.3%)
CIE-LABlab(22.06, 33.55, -55.25)
CIE-LCHlch(22.06, 64.64, 301.27°)
OKLaboklab(34.21% 0.0067 -0.1598)
OKLCHoklch(34.21% 0.16 272.4)
XYZxyz(5.8666, 3.5318, 24.0346)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222689 #898522
analogous
#225989 #222689 #512289
triadic
#222689 #892226 #268922
tetradic
#222689 #892259 #898522 #228951
square
#222689 #892259 #898522 #228951
split-complementary
#222689 #895122 #598922
monochromatic
#0A0B27 #161858 #222689 #2E34BA #5157D4

Accessibility & contrast

On white

12.31
#222689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#222689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222689
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222689#FFFFFF#000000##FFFFFF
##2226891.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222689;
/* rgb */ color: rgb(34, 38, 137);
/* oklch */ color: oklch(34.2% 0.160 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e61ac',
    500: '#222689',
    950: '#000000',
  },
}
SCSS
$custom: #222689;
$custom-light: #6e61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#222689",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 237.67,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34206,
    "c": 0.15998,
    "h": 272.4
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#222689
secondary
#B8B34F
accent
#DD44E3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222689

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

Preview Lab → · Contrast checker → · Palette generator →

#222689 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva