#222964#222964

#222964 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.103 H 273.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#222964
RGBrgb(34, 41, 100)
HSLhsl(234, 49%, 26%)
HSVhsv(234, 66%, 39%)
CMYKcmyk(66%, 59%, 0%, 60.8%)
CIE-LABlab(19.41, 17.60, -35.90)
CIE-LCHlch(19.41, 39.98, 296.11°)
OKLaboklab(31.22% 0.0067 -0.1031)
OKLCHoklch(31.22% 0.103 273.7)
XYZxyz(3.7521, 2.8457, 12.4057)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222964 #645D22
analogous
#224A64 #222964 #3C2264
triadic
#222964 #642229 #296422
tetradic
#222964 #64224A #645D22 #22643C
square
#222964 #64224A #645D22 #22643C
split-complementary
#222964 #643C22 #4A6422
monochromatic
#080917 #121636 #222964 #323C92 #424FBF

Accessibility & contrast

On white

13.38
#222964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222964
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222964#FFFFFF#000000##FFFFFF
##2229641.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222964;
/* rgb */ color: rgb(34, 41, 100);
/* oklch */ color: oklch(31.2% 0.103 273.7);
Tailwind
colors: {
  custom: {
    50: '#656291',
    500: '#222964',
    950: '#000000',
  },
}
SCSS
$custom: #222964;
$custom-light: #656291;
$custom-dark: #000000;
JSON
{
  "hex": "#222964",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 233.636,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31216,
    "c": 0.10331,
    "h": 273.7
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#222964
secondary
#98904A
accent
#CA4FD9
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050D
muted
#7A797D

Preview Lab

Preview with #222964

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

Preview Lab → · Contrast checker → · Palette generator →

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