#222265#222265

#222265 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.9% C 0.115 H 276.9°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#222265
RGBrgb(34, 34, 101)
HSLhsl(240, 50%, 26%)
HSVhsv(240, 66%, 40%)
CMYKcmyk(66.3%, 66.3%, 0%, 60.4%)
CIE-LABlab(17.57, 22.91, -39.56)
CIE-LCHlch(17.57, 45.71, 300.08°)
OKLaboklab(29.88% 0.0138 -0.1139)
OKLCHoklch(29.88% 0.115 276.9)
XYZxyz(3.5799, 2.4234, 12.5885)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222265 #656522
analogous
#224465 #222265 #442265
triadic
#222265 #652222 #226522
tetradic
#222265 #652244 #656522 #226544
square
#222265 #652244 #656522 #226544
split-complementary
#222265 #654422 #446522
monochromatic
#080817 #131337 #222265 #313193 #4242BF

Accessibility & contrast

On white

14.14
#222265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#222265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222265
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222265#FFFFFF#000000##FFFFFF
##2222651.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222265;
/* rgb */ color: rgb(34, 34, 101);
/* oklch */ color: oklch(29.9% 0.115 276.9);
Tailwind
colors: {
  custom: {
    50: '#665d92',
    500: '#222265',
    950: '#000000',
  },
}
SCSS
$custom: #222265;
$custom-light: #665d92;
$custom-dark: #000000;
JSON
{
  "hex": "#222265",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 240,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29876,
    "c": 0.11473,
    "h": 276.9
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#222265
secondary
#99994A
accent
#D94FD9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #222265

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

Preview Lab → · Contrast checker → · Palette generator →

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