#222875#222875

#222875 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.130 H 273.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#222875
RGBrgb(34, 40, 117)
HSLhsl(236, 55%, 30%)
HSVhsv(236, 71%, 46%)
CMYKcmyk(70.9%, 65.8%, 0%, 54.1%)
CIE-LABlab(20.60, 24.82, -44.98)
CIE-LCHlch(20.60, 51.37, 298.88°)
OKLaboklab(32.55% 0.0074 -0.1298)
OKLCHoklch(32.55% 0.13 273.3)
XYZxyz(4.6283, 3.1416, 17.1886)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222875 #756F22
analogous
#225175 #222875 #462275
triadic
#222875 #752228 #287522
tetradic
#222875 #752251 #756F22 #227546
square
#222875 #752251 #756F22 #227546
split-complementary
#222875 #754622 #517522
monochromatic
#070818 #141846 #222875 #3038A4 #4851CA

Accessibility & contrast

On white

12.90
#222875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#222875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222875
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222875#FFFFFF#000000##FFFFFF
##2228751.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #222875;
/* rgb */ color: rgb(34, 40, 117);
/* oklch */ color: oklch(32.6% 0.130 273.3);
Tailwind
colors: {
  custom: {
    50: '#69629d',
    500: '#222875',
    950: '#000000',
  },
}
SCSS
$custom: #222875;
$custom-light: #69629d;
$custom-dark: #000000;
JSON
{
  "hex": "#222875",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 235.663,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32553,
    "c": 0.13001,
    "h": 273.3
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#222875
secondary
#A8A14B
accent
#D449DE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #222875

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

Preview Lab → · Contrast checker → · Palette generator →

#222875 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva