#222E4F#222E4F

#222E4F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.062 H 267.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#222E4F
RGBrgb(34, 46, 79)
HSLhsl(224, 40%, 22%)
HSVhsv(224, 57%, 31%)
CMYKcmyk(57%, 41.8%, 0%, 69%)
CIE-LABlab(19.47, 5.97, -21.87)
CIE-LCHlch(19.47, 22.66, 285.26°)
OKLaboklab(30.78% -0.0026 -0.0618)
OKLCHoklch(30.78% 0.062 267.6)
XYZxyz(3.0475, 2.8584, 7.7868)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E4F #4F4322
analogous
#22454F #222E4F #2D224F
triadic
#222E4F #4F222E #2E4F22
tetradic
#222E4F #4F2245 #4F4322 #224F2D
square
#222E4F #4F2245 #4F4322 #224F2D
split-complementary
#222E4F #4F2D22 #454F22
monochromatic
#090C15 #101524 #222E4F #34477A #4760A5

Accessibility & contrast

On white

13.36
#222E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#222E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E4F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E4F#FFFFFF#000000##FFFFFF
##222E4F1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213150
Deuteranopia (green-blind)
#1C2D4E
Tritanopia (blue-blind)
#0D353A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #222e4f;
/* rgb */ color: rgb(34, 46, 79);
/* oklch */ color: oklch(30.8% 0.062 267.6);
Tailwind
colors: {
  custom: {
    50: '#616680',
    500: '#222e4f',
    950: '#000000',
  },
}
SCSS
$custom: #222e4f;
$custom-light: #616680;
$custom-dark: #000000;
JSON
{
  "hex": "#222e4f",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 224,
    "s": 39.823,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30782,
    "c": 0.06187,
    "h": 267.6
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#222E4F
secondary
#83744A
accent
#B058D0
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05050A
muted
#797A7C

Preview Lab

Preview with #222E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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