#222E5C#222E5C

#222E5C is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.083 H 270.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#222E5C
RGBrgb(34, 46, 92)
HSLhsl(228, 46%, 25%)
HSVhsv(228, 63%, 36%)
CMYKcmyk(63%, 50%, 0%, 63.9%)
CIE-LABlab(20.31, 10.91, -29.19)
CIE-LCHlch(20.31, 31.17, 290.50°)
OKLaboklab(31.7% 0.0001 -0.0833)
OKLCHoklch(31.7% 0.083 270.1)
XYZxyz(3.5678, 3.0665, 10.5270)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E5C #5C5022
analogous
#224B5C #222E5C #33225C
triadic
#222E5C #5C222E #2E5C22
tetradic
#222E5C #5C224B #5C5022 #225C33
square
#222E5C #5C224B #5C5022 #225C33
split-complementary
#222E5C #5C3322 #4B5C22
monochromatic
#080B16 #11182F #222E5C #334489 #435BB5

Accessibility & contrast

On white

13.02
#222E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#222E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E5C
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E5C#FFFFFF#000000##FFFFFF
##222E5C1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18345E
Deuteranopia (green-blind)
#102F5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222e5c;
/* rgb */ color: rgb(34, 46, 92);
/* oklch */ color: oklch(31.7% 0.083 270.1);
Tailwind
colors: {
  custom: {
    50: '#63668a',
    500: '#222e5c',
    950: '#000000',
  },
}
SCSS
$custom: #222e5c;
$custom-light: #63668a;
$custom-dark: #000000;
JSON
{
  "hex": "#222e5c",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 227.586,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.317,
    "c": 0.0833,
    "h": 270.1
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#222E5C
secondary
#90814A
accent
#BA52D6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #222E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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