#222B4E#222B4E

#222B4E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.065 H 271.2°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#222B4E
RGBrgb(34, 43, 78)
HSLhsl(228, 39%, 22%)
HSVhsv(228, 56%, 31%)
CMYKcmyk(56.4%, 44.9%, 0%, 69.4%)
CIE-LABlab(18.44, 7.75, -22.81)
CIE-LCHlch(18.44, 24.09, 288.76°)
OKLaboklab(29.97% 0.0013 -0.0646)
OKLCHoklch(29.97% 0.065 271.2)
XYZxyz(2.8983, 2.6177, 7.5588)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B4E #4E4522
analogous
#22414E #222B4E #2F224E
triadic
#222B4E #4E222B #2B4E22
tetradic
#222B4E #4E2241 #4E4522 #224E2F
square
#222B4E #4E2241 #4E4522 #224E2F
split-complementary
#222B4E #4E2F22 #414E22
monochromatic
#090C15 #0F1423 #222B4E #354279 #475AA3

Accessibility & contrast

On white

13.78
#222B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#222B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B4E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B4E#FFFFFF#000000##FFFFFF
##222B4E1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#182B4D
Tritanopia (blue-blind)
#0F3238
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #222b4e;
/* rgb */ color: rgb(34, 43, 78);
/* oklch */ color: oklch(30.0% 0.065 271.2);
Tailwind
colors: {
  custom: {
    50: '#616480',
    500: '#222b4e',
    950: '#000000',
  },
}
SCSS
$custom: #222b4e;
$custom-light: #616480;
$custom-dark: #000000;
JSON
{
  "hex": "#222b4e",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 227.727,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29973,
    "c": 0.06463,
    "h": 271.2
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#222B4E
secondary
#82764A
accent
#B759CF
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #222B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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