#222775#222775

#222775 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.131 H 273.6°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#222775
RGBrgb(34, 39, 117)
HSLhsl(236, 55%, 30%)
HSVhsv(236, 71%, 46%)
CMYKcmyk(70.9%, 66.7%, 0%, 54.1%)
CIE-LABlab(20.34, 25.50, -45.41)
CIE-LCHlch(20.34, 52.08, 299.32°)
OKLaboklab(32.36% 0.0083 -0.131)
OKLCHoklch(32.36% 0.131 273.6)
XYZxyz(4.5950, 3.0750, 17.1776)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222775 #757022
analogous
#225075 #222775 #472275
triadic
#222775 #752227 #277522
tetradic
#222775 #752250 #757022 #227547
square
#222775 #752250 #757022 #227547
split-complementary
#222775 #754722 #507522
monochromatic
#070818 #141746 #222775 #3037A4 #4850CA

Accessibility & contrast

On white

13.00
#222775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#222775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222775
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222775#FFFFFF#000000##FFFFFF
##2227751.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222775;
/* rgb */ color: rgb(34, 39, 117);
/* oklch */ color: oklch(32.4% 0.131 273.6);
Tailwind
colors: {
  custom: {
    50: '#69619e',
    500: '#222775',
    950: '#000000',
  },
}
SCSS
$custom: #222775;
$custom-light: #69619e;
$custom-dark: #000000;
JSON
{
  "hex": "#222775",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 117
  },
  "hsl": {
    "h": 236.386,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32362,
    "c": 0.13131,
    "h": 273.6
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

primary
#222775
secondary
#A8A24B
accent
#D549DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #222775

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

Preview Lab → · Contrast checker → · Palette generator →

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