#222E9F#222E9F

#222E9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.180 H 269.9°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#222E9F
RGBrgb(34, 46, 159)
HSLhsl(234, 65%, 38%)
HSVhsv(234, 79%, 62%)
CMYKcmyk(78.6%, 71.1%, 0%, 37.6%)
CIE-LABlab(26.15, 36.47, -62.09)
CIE-LCHlch(26.15, 72.01, 300.43°)
OKLaboklab(37.83% -0.0003 -0.1798)
OKLCHoklch(37.83% 0.18 269.9)
XYZxyz(7.8925, 4.7964, 33.3040)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E9F #9F9322
analogous
#226C9F #222E9F #54229F
triadic
#222E9F #9F222E #2E9F22
tetradic
#222E9F #9F226C #9F9322 #229F54
square
#222E9F #9F226C #9F9322 #229F54
split-complementary
#222E9F #9F5422 #6C9F22
monochromatic
#0C113A #171F6D #222E9F #2D3DD1 #5F6BDD

Accessibility & contrast

On white

10.72
#222E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#222E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E9F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E9F#FFFFFF#000000##FFFFFF
##222E9F1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #222e9f;
/* rgb */ color: rgb(34, 46, 159);
/* oklch */ color: oklch(37.8% 0.180 269.9);
Tailwind
colors: {
  custom: {
    50: '#7367bc',
    500: '#222e9f',
    950: '#000000',
  },
}
SCSS
$custom: #222e9f;
$custom-light: #7367bc;
$custom-dark: #000000;
JSON
{
  "hex": "#222e9f",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 234.24,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37828,
    "c": 0.17978,
    "h": 269.9
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#222E9F
secondary
#C1B85B
accent
#D840E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #222E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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