#222E5F#222E5F

#222E5F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.088 H 270.4°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#222E5F
RGBrgb(34, 46, 95)
HSLhsl(228, 47%, 25%)
HSVhsv(228, 64%, 37%)
CMYKcmyk(64.2%, 51.6%, 0%, 62.7%)
CIE-LABlab(20.52, 12.07, -30.83)
CIE-LCHlch(20.52, 33.11, 291.39°)
OKLaboklab(31.93% 0.0006 -0.0881)
OKLCHoklch(31.93% 0.088 270.4)
XYZxyz(3.7016, 3.1200, 11.2314)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E5F #5F5322
analogous
#224C5F #222E5F #34225F
triadic
#222E5F #5F222E #2E5F22
tetradic
#222E5F #5F224C #5F5322 #225F34
square
#222E5F #5F224C #5F5322 #225F34
split-complementary
#222E5F #5F3422 #4C5F22
monochromatic
#080B17 #121832 #222E5F #32448C #425AB9

Accessibility & contrast

On white

12.93
#222E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#222E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E5F
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E5F#FFFFFF#000000##FFFFFF
##222E5F1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153461
Deuteranopia (green-blind)
#0B2F5E
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222e5f;
/* rgb */ color: rgb(34, 46, 95);
/* oklch */ color: oklch(31.9% 0.088 270.4);
Tailwind
colors: {
  custom: {
    50: '#64668d',
    500: '#222e5f',
    950: '#000000',
  },
}
SCSS
$custom: #222e5f;
$custom-light: #64668d;
$custom-dark: #000000;
JSON
{
  "hex": "#222e5f",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 228.197,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31928,
    "c": 0.08812,
    "h": 270.4
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#222E5F
secondary
#93854A
accent
#BD51D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #222E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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