#222E85#222E85

#222E85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.145 H 270.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#222E85
RGBrgb(34, 46, 133)
HSLhsl(233, 59%, 33%)
HSVhsv(233, 74%, 52%)
CMYKcmyk(74.4%, 65.4%, 0%, 47.8%)
CIE-LABlab(23.63, 26.81, -50.17)
CIE-LCHlch(23.63, 56.89, 298.12°)
OKLaboklab(35.23% 0.0019 -0.145)
OKLCHoklch(35.23% 0.145 270.8)
XYZxyz(5.8689, 3.9869, 22.6460)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E85 #857922
analogous
#226085 #222E85 #472285
triadic
#222E85 #85222E #2E8522
tetradic
#222E85 #852260 #857922 #228547
square
#222E85 #852260 #857922 #228547
split-complementary
#222E85 #854722 #608522
monochromatic
#090C24 #161D54 #222E85 #2E3FB6 #4F5FD2

Accessibility & contrast

On white

11.68
#222E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#222E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E85
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E85#FFFFFF#000000##FFFFFF
##222E851.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222e85;
/* rgb */ color: rgb(34, 46, 133);
/* oklch */ color: oklch(35.2% 0.145 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d66a9',
    500: '#222e85',
    950: '#000000',
  },
}
SCSS
$custom: #222e85;
$custom-light: #6d66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#222e85",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 232.727,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35228,
    "c": 0.14497,
    "h": 270.8
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#222E85
secondary
#B6A94D
accent
#CF45E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222E85

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

Preview Lab → · Contrast checker → · Palette generator →

#222E85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva