#222375#222375

#222375 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.136 H 274.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#222375
RGBrgb(34, 35, 117)
HSLhsl(239, 55%, 30%)
HSVhsv(239, 71%, 46%)
CMYKcmyk(70.9%, 70.1%, 0%, 54.1%)
CIE-LABlab(19.33, 28.19, -47.06)
CIE-LCHlch(19.33, 54.86, 300.92°)
OKLaboklab(31.63% 0.0114 -0.1359)
OKLCHoklch(31.63% 0.136 274.8)
XYZxyz(4.4705, 2.8261, 17.1361)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222375 #757422
analogous
#224D75 #222375 #4B2275
triadic
#222375 #752223 #237522
tetradic
#222375 #75224D #757422 #22754B
square
#222375 #75224D #757422 #22754B
split-complementary
#222375 #754B22 #4D7522
monochromatic
#070718 #141546 #222375 #3031A4 #4849CA

Accessibility & contrast

On white

13.42
#222375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#222375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222375
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222375#FFFFFF#000000##FFFFFF
##2223751.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #222375;
/* rgb */ color: rgb(34, 35, 117);
/* oklch */ color: oklch(31.6% 0.136 274.8);
Tailwind
colors: {
  custom: {
    50: '#6a5e9e',
    500: '#222375',
    950: '#000000',
  },
}
SCSS
$custom: #222375;
$custom-light: #6a5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#222375",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 117
  },
  "hsl": {
    "h": 239.277,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31628,
    "c": 0.13639,
    "h": 274.8
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#222375
secondary
#A8A74B
accent
#DD49DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222375

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

Preview Lab → · Contrast checker → · Palette generator →

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