#222B74#222B74

#222B74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.125 H 272.3°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#222B74
RGBrgb(34, 43, 116)
HSLhsl(233, 55%, 29%)
HSVhsv(233, 71%, 45%)
CMYKcmyk(70.7%, 62.9%, 0%, 54.5%)
CIE-LABlab(21.31, 22.36, -43.18)
CIE-LCHlch(21.31, 48.63, 297.38°)
OKLaboklab(33.05% 0.0049 -0.1245)
OKLCHoklch(33.05% 0.125 272.3)
XYZxyz(4.6749, 3.3284, 16.9157)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B74 #746B22
analogous
#225474 #222B74 #422274
triadic
#222B74 #74222B #2B7422
tetradic
#222B74 #742254 #746B22 #227442
square
#222B74 #742254 #746B22 #227442
split-complementary
#222B74 #744222 #547422
monochromatic
#070918 #141945 #222B74 #303DA3 #4756C9

Accessibility & contrast

On white

12.61
#222B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222B74
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B74#FFFFFF#000000##FFFFFF
##222B741.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222b74;
/* rgb */ color: rgb(34, 43, 116);
/* oklch */ color: oklch(33.1% 0.125 272.3);
Tailwind
colors: {
  custom: {
    50: '#69649d',
    500: '#222b74',
    950: '#000000',
  },
}
SCSS
$custom: #222b74;
$custom-light: #69649d;
$custom-dark: #000000;
JSON
{
  "hex": "#222b74",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 233.415,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3305,
    "c": 0.12458,
    "h": 272.3
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#222B74
secondary
#A79D4B
accent
#CE4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #222B74

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

Preview Lab → · Contrast checker → · Palette generator →

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