#222F75#222F75

#222F75 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.121 H 270.6°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#222F75
RGBrgb(34, 47, 117)
HSLhsl(231, 55%, 30%)
HSVhsv(231, 71%, 46%)
CMYKcmyk(70.9%, 59.8%, 0%, 54.1%)
CIE-LABlab(22.50, 19.95, -41.89)
CIE-LCHlch(22.50, 46.39, 295.47°)
OKLaboklab(33.96% 0.0013 -0.1206)
OKLCHoklch(33.96% 0.121 270.6)
XYZxyz(4.8860, 3.6570, 17.2746)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F75 #756822
analogous
#225975 #222F75 #3E2275
triadic
#222F75 #75222F #2F7522
tetradic
#222F75 #752259 #756822 #22753E
square
#222F75 #752259 #756822 #22753E
split-complementary
#222F75 #753E22 #597522
monochromatic
#070A18 #141C46 #222F75 #3042A4 #485CCA

Accessibility & contrast

On white

12.13
#222F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#222F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F75
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F75#FFFFFF#000000##FFFFFF
##222F751.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222f75;
/* rgb */ color: rgb(34, 47, 117);
/* oklch */ color: oklch(34.0% 0.121 270.6);
Tailwind
colors: {
  custom: {
    50: '#69679d',
    500: '#222f75',
    950: '#000000',
  },
}
SCSS
$custom: #222f75;
$custom-light: #69679d;
$custom-dark: #000000;
JSON
{
  "hex": "#222f75",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 230.602,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33961,
    "c": 0.12063,
    "h": 270.6
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#222F75
secondary
#A8994B
accent
#C749DE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #222F75

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

Preview Lab → · Contrast checker → · Palette generator →

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