#222E6A#222E6A

#222E6A is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.105 H 271.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#222E6A
RGBrgb(34, 46, 106)
HSLhsl(230, 51%, 27%)
HSVhsv(230, 68%, 42%)
CMYKcmyk(67.9%, 56.6%, 0%, 58.4%)
CIE-LABlab(21.34, 16.36, -36.70)
CIE-LCHlch(21.34, 40.18, 294.03°)
OKLaboklab(32.81% 0.0018 -0.1054)
OKLCHoklch(32.81% 0.105 271)
XYZxyz(4.2373, 3.3343, 14.0532)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E6A #6A5E22
analogous
#22526A #222E6A #3A226A
triadic
#222E6A #6A222E #2E6A22
tetradic
#222E6A #6A2252 #6A5E22 #226A3A
square
#222E6A #6A2252 #6A5E22 #226A3A
split-complementary
#222E6A #6A3A22 #526A22
monochromatic
#070A17 #131A3C #222E6A #314298 #4459C3

Accessibility & contrast

On white

12.60
#222E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#222E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E6A
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E6A#FFFFFF#000000##FFFFFF
##222E6A1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05376C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222e6a;
/* rgb */ color: rgb(34, 46, 106);
/* oklch */ color: oklch(32.8% 0.105 271.0);
Tailwind
colors: {
  custom: {
    50: '#666695',
    500: '#222e6a',
    950: '#000000',
  },
}
SCSS
$custom: #222e6a;
$custom-light: #666695;
$custom-dark: #000000;
JSON
{
  "hex": "#222e6a",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 230,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32807,
    "c": 0.10539,
    "h": 271
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#222E6A
secondary
#9E904A
accent
#C34DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #222E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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