#222D4E#222D4E

#222D4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.062 H 268.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#222D4E
RGBrgb(34, 45, 78)
HSLhsl(225, 39%, 22%)
HSVhsv(225, 56%, 31%)
CMYKcmyk(56.4%, 42.3%, 0%, 69.4%)
CIE-LABlab(19.08, 6.31, -21.80)
CIE-LCHlch(19.08, 22.69, 286.15°)
OKLaboklab(30.47% -0.0015 -0.0616)
OKLCHoklch(30.47% 0.062 268.6)
XYZxyz(2.9728, 2.7667, 7.5836)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D4E #4E4322
analogous
#22434E #222D4E #2D224E
triadic
#222D4E #4E222D #2D4E22
tetradic
#222D4E #4E2243 #4E4322 #224E2D
square
#222D4E #4E2243 #4E4322 #224E2D
split-complementary
#222D4E #4E2D22 #434E22
monochromatic
#090C15 #0F1423 #222D4E #354679 #475EA3

Accessibility & contrast

On white

13.52
#222D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#222D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D4E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D4E#FFFFFF#000000##FFFFFF
##222D4E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#1B2D4D
Tritanopia (blue-blind)
#0E3439
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222d4e;
/* rgb */ color: rgb(34, 45, 78);
/* oklch */ color: oklch(30.5% 0.062 268.6);
Tailwind
colors: {
  custom: {
    50: '#606580',
    500: '#222d4e',
    950: '#000000',
  },
}
SCSS
$custom: #222d4e;
$custom-light: #606580;
$custom-dark: #000000;
JSON
{
  "hex": "#222d4e",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 225,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30467,
    "c": 0.06166,
    "h": 268.6
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#222D4E
secondary
#82744A
accent
#B259CF
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05050A
muted
#797A7C

Preview Lab

Preview with #222D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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