#222869#222869

#222869 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.112 H 274.0°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#222869
RGBrgb(34, 40, 105)
HSLhsl(235, 51%, 27%)
HSVhsv(235, 68%, 41%)
CMYKcmyk(67.6%, 61.9%, 0%, 58.8%)
CIE-LABlab(19.55, 20.23, -38.95)
CIE-LCHlch(19.55, 43.89, 297.45°)
OKLaboklab(31.44% 0.0078 -0.1121)
OKLCHoklch(31.44% 0.112 274)
XYZxyz(3.9674, 2.8772, 13.7081)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222869 #696322
analogous
#224B69 #222869 #402269
triadic
#222869 #692228 #286922
tetradic
#222869 #69224B #696322 #226940
square
#222869 #69224B #696322 #226940
split-complementary
#222869 #694022 #4B6922
monochromatic
#070917 #13163B #222869 #313A97 #434EC2

Accessibility & contrast

On white

13.33
#222869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#222869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222869
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222869#FFFFFF#000000##FFFFFF
##2228691.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #222869;
/* rgb */ color: rgb(34, 40, 105);
/* oklch */ color: oklch(31.4% 0.112 274.0);
Tailwind
colors: {
  custom: {
    50: '#666194',
    500: '#222869',
    950: '#000000',
  },
}
SCSS
$custom: #222869;
$custom-light: #666194;
$custom-dark: #000000;
JSON
{
  "hex": "#222869",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 105
  },
  "hsl": {
    "h": 234.93,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31444,
    "c": 0.11236,
    "h": 274
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#222869
secondary
#9D964A
accent
#CF4DDB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #222869

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

Preview Lab → · Contrast checker → · Palette generator →

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