#222965#222965

#222965 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.105 H 273.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#222965
RGBrgb(34, 41, 101)
HSLhsl(234, 50%, 26%)
HSVhsv(234, 66%, 40%)
CMYKcmyk(66.3%, 59.4%, 0%, 60.4%)
CIE-LABlab(19.50, 17.98, -36.42)
CIE-LCHlch(19.50, 40.62, 296.28°)
OKLaboklab(31.3% 0.0067 -0.1046)
OKLCHoklch(31.3% 0.105 273.7)
XYZxyz(3.8008, 2.8652, 12.6621)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222965 #655E22
analogous
#224B65 #222965 #3D2265
triadic
#222965 #652229 #296522
tetradic
#222965 #65224B #655E22 #22653D
square
#222965 #65224B #655E22 #22653D
split-complementary
#222965 #653D22 #4B6522
monochromatic
#080917 #131637 #222965 #313C93 #424FBF

Accessibility & contrast

On white

13.35
#222965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222965
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222965#FFFFFF#000000##FFFFFF
##2229651.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #222965;
/* rgb */ color: rgb(34, 41, 101);
/* oklch */ color: oklch(31.3% 0.105 273.7);
Tailwind
colors: {
  custom: {
    50: '#656291',
    500: '#222965',
    950: '#000000',
  },
}
SCSS
$custom: #222965;
$custom-light: #656291;
$custom-dark: #000000;
JSON
{
  "hex": "#222965",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 233.731,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31302,
    "c": 0.10485,
    "h": 273.7
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#222965
secondary
#99914A
accent
#CB4FD9
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #222965

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

Preview Lab → · Contrast checker → · Palette generator →

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