#222E6B#222E6B

#222E6B is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.107 H 271.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#222E6B
RGBrgb(34, 46, 107)
HSLhsl(230, 52%, 28%)
HSVhsv(230, 68%, 42%)
CMYKcmyk(68.2%, 57%, 0%, 58%)
CIE-LABlab(21.41, 16.75, -37.22)
CIE-LCHlch(21.41, 40.82, 294.23°)
OKLaboklab(32.89% 0.0018 -0.1069)
OKLCHoklch(32.89% 0.107 271)
XYZxyz(4.2896, 3.3552, 14.3286)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E6B #6B5F22
analogous
#22526B #222E6B #3A226B
triadic
#222E6B #6B222E #2E6B22
tetradic
#222E6B #6B2252 #6B5F22 #226B3A
square
#222E6B #6B2252 #6B5F22 #226B3A
split-complementary
#222E6B #6B3A22 #526B22
monochromatic
#070A17 #131A3D #222E6B #314299 #4459C4

Accessibility & contrast

On white

12.57
#222E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222E6B
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E6B#FFFFFF#000000##FFFFFF
##222E6B1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04376D
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222e6b;
/* rgb */ color: rgb(34, 46, 107);
/* oklch */ color: oklch(32.9% 0.107 271.0);
Tailwind
colors: {
  custom: {
    50: '#666696',
    500: '#222e6b',
    950: '#000000',
  },
}
SCSS
$custom: #222e6b;
$custom-light: #666696;
$custom-dark: #000000;
JSON
{
  "hex": "#222e6b",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 230.137,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32891,
    "c": 0.10694,
    "h": 271
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#222E6B
secondary
#9F914A
accent
#C44DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #222E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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