#222E7E#222E7E

#222E7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.135 H 270.9°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#222E7E
RGBrgb(34, 46, 126)
HSLhsl(232, 58%, 31%)
HSVhsv(232, 73%, 49%)
CMYKcmyk(73%, 63.5%, 0%, 50.6%)
CIE-LABlab(23.00, 24.13, -46.80)
CIE-LCHlch(23.00, 52.65, 297.28°)
OKLaboklab(34.57% 0.0022 -0.1351)
OKLCHoklch(34.57% 0.135 270.9)
XYZxyz(5.4013, 3.7999, 20.1834)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E7E #7E7222
analogous
#225C7E #222E7E #44227E
triadic
#222E7E #7E222E #2E7E22
tetradic
#222E7E #7E225C #7E7222 #227E44
square
#222E7E #7E225C #7E7222 #227E44
split-complementary
#222E7E #7E4422 #5C7E22
monochromatic
#080B1E #151C4E #222E7E #2F40AE #4C5DCF

Accessibility & contrast

On white

11.93
#222E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#222E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E7E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E7E#FFFFFF#000000##FFFFFF
##222E7E1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222e7e;
/* rgb */ color: rgb(34, 46, 126);
/* oklch */ color: oklch(34.6% 0.135 270.9);
Tailwind
colors: {
  custom: {
    50: '#6b66a4',
    500: '#222e7e',
    950: '#000000',
  },
}
SCSS
$custom: #222e7e;
$custom-light: #6b66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#222e7e",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 232.174,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34569,
    "c": 0.13508,
    "h": 270.9
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#222E7E
secondary
#B1A34B
accent
#CD47E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #222E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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