#222E5B#222E5B

#222E5B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.082 H 270.0°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#222E5B
RGBrgb(34, 46, 91)
HSLhsl(227, 46%, 25%)
HSVhsv(227, 63%, 36%)
CMYKcmyk(62.6%, 49.5%, 0%, 64.3%)
CIE-LABlab(20.24, 10.53, -28.64)
CIE-LCHlch(20.24, 30.52, 290.18°)
OKLaboklab(31.62% 0 -0.0817)
OKLCHoklch(31.62% 0.082 270)
XYZxyz(3.5244, 3.0491, 10.2983)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E5B #5B4F22
analogous
#224B5B #222E5B #33225B
triadic
#222E5B #5B222E #2E5B22
tetradic
#222E5B #5B224B #5B4F22 #225B33
square
#222E5B #5B224B #5B4F22 #225B33
split-complementary
#222E5B #5B3322 #4B5B22
monochromatic
#080B16 #11172E #222E5B #334588 #435BB4

Accessibility & contrast

On white

13.05
#222E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222E5B
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E5B#FFFFFF#000000##FFFFFF
##222E5B1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19335D
Deuteranopia (green-blind)
#112E5A
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222e5b;
/* rgb */ color: rgb(34, 46, 91);
/* oklch */ color: oklch(31.6% 0.082 270.0);
Tailwind
colors: {
  custom: {
    50: '#63668a',
    500: '#222e5b',
    950: '#000000',
  },
}
SCSS
$custom: #222e5b;
$custom-light: #63668a;
$custom-dark: #000000;
JSON
{
  "hex": "#222e5b",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 227.368,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31625,
    "c": 0.08168,
    "h": 270
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#222E5B
secondary
#8F804A
accent
#BA53D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050B
muted
#7A7A7C

Preview Lab

Preview with #222E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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