#222B60#222B60

#222B60 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.094 H 272.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#222B60
RGBrgb(34, 43, 96)
HSLhsl(231, 48%, 25%)
HSVhsv(231, 65%, 38%)
CMYKcmyk(64.6%, 55.2%, 0%, 62.4%)
CIE-LABlab(19.69, 14.62, -32.83)
CIE-LCHlch(19.69, 35.93, 294.00°)
OKLaboklab(31.32% 0.0042 -0.094)
OKLCHoklch(31.32% 0.094 272.6)
XYZxyz(3.6342, 2.9121, 11.4346)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B60 #605722
analogous
#224A60 #222B60 #382260
triadic
#222B60 #60222B #2B6022
tetradic
#222B60 #60224A #605722 #226038
square
#222B60 #60224A #605722 #226038
split-complementary
#222B60 #603822 #4A6022
monochromatic
#080A17 #121733 #222B60 #323F8D #4253BA

Accessibility & contrast

On white

13.27
#222B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#222B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B60
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B60#FFFFFF#000000##FFFFFF
##222B601.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3262
Deuteranopia (green-blind)
#002D5F
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #222b60;
/* rgb */ color: rgb(34, 43, 96);
/* oklch */ color: oklch(31.3% 0.094 272.6);
Tailwind
colors: {
  custom: {
    50: '#64648d',
    500: '#222b60',
    950: '#000000',
  },
}
SCSS
$custom: #222b60;
$custom-light: #64648d;
$custom-dark: #000000;
JSON
{
  "hex": "#222b60",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 231.29,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31322,
    "c": 0.09412,
    "h": 272.6
  },
  "luminance": 0.02912
}

Semantic roles & 50–950 ramp

primary
#222B60
secondary
#94894A
accent
#C451D7
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #222B60

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

Preview Lab → · Contrast checker → · Palette generator →

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