#222B70#222B70

#222B70 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.119 H 272.4°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#222B70
RGBrgb(34, 43, 112)
HSLhsl(233, 53%, 29%)
HSVhsv(233, 70%, 44%)
CMYKcmyk(69.6%, 61.6%, 0%, 56.1%)
CIE-LABlab(20.97, 20.82, -41.17)
CIE-LCHlch(20.97, 46.13, 296.82°)
OKLaboklab(32.69% 0.0049 -0.1186)
OKLCHoklch(32.69% 0.119 272.4)
XYZxyz(4.4472, 3.2373, 15.7166)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B70 #706722
analogous
#225270 #222B70 #402270
triadic
#222B70 #70222B #2B7022
tetradic
#222B70 #702252 #706722 #227040
square
#222B70 #702252 #706722 #227040
split-complementary
#222B70 #704022 #527022
monochromatic
#070917 #141941 #222B70 #303D9F #4655C7

Accessibility & contrast

On white

12.75
#222B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#222B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B70
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B70#FFFFFF#000000##FFFFFF
##222B701.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #222b70;
/* rgb */ color: rgb(34, 43, 112);
/* oklch */ color: oklch(32.7% 0.119 272.4);
Tailwind
colors: {
  custom: {
    50: '#68649a',
    500: '#222b70',
    950: '#000000',
  },
}
SCSS
$custom: #222b70;
$custom-light: #68649a;
$custom-dark: #000000;
JSON
{
  "hex": "#222b70",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 233.077,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32688,
    "c": 0.11867,
    "h": 272.4
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#222B70
secondary
#A3994A
accent
#CC4BDD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #222B70

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

Preview Lab → · Contrast checker → · Palette generator →

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