#222D9F#222D9F

#222D9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.181 H 270.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#222D9F
RGBrgb(34, 45, 159)
HSLhsl(235, 65%, 38%)
HSVhsv(235, 79%, 62%)
CMYKcmyk(78.6%, 71.7%, 0%, 37.6%)
CIE-LABlab(25.92, 37.09, -62.46)
CIE-LCHlch(25.92, 72.65, 300.70°)
OKLaboklab(37.66% 0.0002 -0.1809)
OKLCHoklch(37.66% 0.181 270.1)
XYZxyz(7.8539, 4.7192, 33.2911)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D9F #9F9422
analogous
#226B9F #222D9F #55229F
triadic
#222D9F #9F222D #2D9F22
tetradic
#222D9F #9F226B #9F9422 #229F55
square
#222D9F #9F226B #9F9422 #229F55
split-complementary
#222D9F #9F5522 #6B9F22
monochromatic
#0C103A #171F6D #222D9F #2D3BD1 #5F6ADD

Accessibility & contrast

On white

10.80
#222D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#222D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D9F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D9F#FFFFFF#000000##FFFFFF
##222D9F1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #222d9f;
/* rgb */ color: rgb(34, 45, 159);
/* oklch */ color: oklch(37.7% 0.181 270.1);
Tailwind
colors: {
  custom: {
    50: '#7366bd',
    500: '#222d9f',
    950: '#000000',
  },
}
SCSS
$custom: #222d9f;
$custom-light: #7366bd;
$custom-dark: #000000;
JSON
{
  "hex": "#222d9f",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 234.72,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37664,
    "c": 0.18087,
    "h": 270.1
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#222D9F
secondary
#C1B85B
accent
#D940E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #222D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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