#222E9B#222E9B

#222E9B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.175 H 270.0°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#222E9B
RGBrgb(34, 46, 155)
HSLhsl(234, 64%, 37%)
HSVhsv(234, 78%, 61%)
CMYKcmyk(78.1%, 70.3%, 0%, 39.2%)
CIE-LABlab(25.74, 35.02, -60.31)
CIE-LCHlch(25.74, 69.74, 300.14°)
OKLaboklab(37.41% 0.0001 -0.1746)
OKLCHoklch(37.41% 0.175 270)
XYZxyz(7.5511, 4.6598, 31.5055)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E9B #9B8F22
analogous
#226A9B #222E9B #53229B
triadic
#222E9B #9B222E #2E9B22
tetradic
#222E9B #9B226A #9B8F22 #229B53
square
#222E9B #9B226A #9B8F22 #229B53
split-complementary
#222E9B #9B5322 #6A9B22
monochromatic
#0C1037 #171F69 #222E9B #2D3DCD #5C69DB

Accessibility & contrast

On white

10.87
#222E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#222E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E9B
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E9B#FFFFFF#000000##FFFFFF
##222E9B1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #222e9b;
/* rgb */ color: rgb(34, 46, 155);
/* oklch */ color: oklch(37.4% 0.175 270.0);
Tailwind
colors: {
  custom: {
    50: '#7267ba',
    500: '#222e9b',
    950: '#000000',
  },
}
SCSS
$custom: #222e9b;
$custom-light: #7267ba;
$custom-dark: #000000;
JSON
{
  "hex": "#222e9b",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 234.05,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37414,
    "c": 0.17461,
    "h": 270
  },
  "luminance": 0.04661
}

Semantic roles & 50–950 ramp

primary
#222E9B
secondary
#C0B659
accent
#D741E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #222E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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