#222E89#222E89

#222E89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.151 H 270.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#222E89
RGBrgb(34, 46, 137)
HSLhsl(233, 60%, 34%)
HSVhsv(233, 75%, 54%)
CMYKcmyk(75.2%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.00, 28.33, -52.07)
CIE-LCHlch(24.00, 59.28, 298.55°)
OKLaboklab(35.61% 0.0017 -0.1505)
OKLCHoklch(35.61% 0.151 270.7)
XYZxyz(6.1505, 4.0996, 24.1292)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E89 #897D22
analogous
#226189 #222E89 #492289
triadic
#222E89 #89222E #2E8922
tetradic
#222E89 #892261 #897D22 #228949
square
#222E89 #892261 #897D22 #228949
split-complementary
#222E89 #894922 #618922
monochromatic
#0A0D27 #161E58 #222E89 #2E3EBA #5161D4

Accessibility & contrast

On white

11.54
#222E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#222E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E89
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E89#FFFFFF#000000##FFFFFF
##222E891.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222e89;
/* rgb */ color: rgb(34, 46, 137);
/* oklch */ color: oklch(35.6% 0.151 270.7);
Tailwind
colors: {
  custom: {
    50: '#6e66ac',
    500: '#222e89',
    950: '#000000',
  },
}
SCSS
$custom: #222e89;
$custom-light: #6e66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#222e89",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 233.01,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35613,
    "c": 0.15052,
    "h": 270.7
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#222E89
secondary
#B8AB4F
accent
#D144E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222E89

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

Preview Lab → · Contrast checker → · Palette generator →

#222E89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva