#222065#222065

#222065 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.5% C 0.117 H 277.7°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#222065
RGBrgb(34, 32, 101)
HSLhsl(242, 52%, 26%)
HSVhsv(242, 68%, 40%)
CMYKcmyk(66.3%, 68.3%, 0%, 60.4%)
CIE-LABlab(17.05, 24.28, -40.40)
CIE-LCHlch(17.05, 47.14, 301.01°)
OKLaboklab(29.49% 0.0157 -0.1164)
OKLCHoklch(29.49% 0.117 277.7)
XYZxyz(3.5244, 2.3124, 12.5700)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222065 #636520
analogous
#204065 #222065 #442065
triadic
#222065 #652220 #206522
tetradic
#222065 #652040 #636520 #206544
square
#222065 #652040 #636520 #206544
split-complementary
#222065 #654420 #406520
monochromatic
#080717 #121137 #222065 #322F93 #413EC2

Accessibility & contrast

On white

14.36
#222065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#222065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222065
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222065#FFFFFF#000000##FFFFFF
##2220651.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #222065;
/* rgb */ color: rgb(34, 32, 101);
/* oklch */ color: oklch(29.5% 0.117 277.7);
Tailwind
colors: {
  custom: {
    50: '#665b92',
    500: '#222065',
    950: '#000000',
  },
}
SCSS
$custom: #222065;
$custom-light: #665b92;
$custom-dark: #000000;
JSON
{
  "hex": "#222065",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 101
  },
  "hsl": {
    "h": 241.739,
    "s": 51.88,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29495,
    "c": 0.11746,
    "h": 277.7
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#222065
secondary
#979948
accent
#DB4CD7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #222065

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

Preview Lab → · Contrast checker → · Palette generator →

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