#222A4E#222A4E

#222A4E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.066 H 272.4°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#222A4E
RGBrgb(34, 42, 78)
HSLhsl(229, 39%, 22%)
HSVhsv(229, 56%, 31%)
CMYKcmyk(56.4%, 46.2%, 0%, 69.4%)
CIE-LABlab(18.12, 8.47, -23.32)
CIE-LCHlch(18.12, 24.81, 289.96°)
OKLaboklab(29.73% 0.0027 -0.0661)
OKLCHoklch(29.73% 0.066 272.4)
XYZxyz(2.8624, 2.5459, 7.5468)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A4E #4E4622
analogous
#22404E #222A4E #30224E
triadic
#222A4E #4E222A #2A4E22
tetradic
#222A4E #4E2240 #4E4622 #224E30
square
#222A4E #4E2240 #4E4622 #224E30
split-complementary
#222A4E #4E3022 #404E22
monochromatic
#090B15 #0F1323 #222A4E #354179 #4758A3

Accessibility & contrast

On white

13.91
#222A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#222A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A4E
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A4E#FFFFFF#000000##FFFFFF
##222A4E1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#172B4D
Tritanopia (blue-blind)
#0F3238
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #222a4e;
/* rgb */ color: rgb(34, 42, 78);
/* oklch */ color: oklch(29.7% 0.066 272.4);
Tailwind
colors: {
  custom: {
    50: '#616380',
    500: '#222a4e',
    950: '#000000',
  },
}
SCSS
$custom: #222a4e;
$custom-light: #616380;
$custom-dark: #000000;
JSON
{
  "hex": "#222a4e",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 229.091,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29729,
    "c": 0.06617,
    "h": 272.4
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#222A4E
secondary
#82784A
accent
#BA59CF
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #222A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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