#222D63#222D63

#222D63 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.096 H 271.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#222D63
RGBrgb(34, 45, 99)
HSLhsl(230, 49%, 26%)
HSVhsv(230, 66%, 39%)
CMYKcmyk(65.7%, 54.5%, 0%, 61.2%)
CIE-LABlab(20.51, 14.35, -33.48)
CIE-LCHlch(20.51, 36.42, 293.20°)
OKLaboklab(32.01% 0.0022 -0.0959)
OKLCHoklch(32.01% 0.096 271.3)
XYZxyz(3.8495, 3.1174, 12.2008)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D63 #635822
analogous
#224D63 #222D63 #372263
triadic
#222D63 #63222D #2D6322
tetradic
#222D63 #63224D #635822 #226337
square
#222D63 #63224D #635822 #226337
split-complementary
#222D63 #633722 #4D6322
monochromatic
#080A17 #121835 #222D63 #324291 #4157BE

Accessibility & contrast

On white

12.93
#222D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#222D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D63
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D63#FFFFFF#000000##FFFFFF
##222D631.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3465
Deuteranopia (green-blind)
#002F62
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222d63;
/* rgb */ color: rgb(34, 45, 99);
/* oklch */ color: oklch(32.0% 0.096 271.3);
Tailwind
colors: {
  custom: {
    50: '#656590',
    500: '#222d63',
    950: '#000000',
  },
}
SCSS
$custom: #222d63;
$custom-light: #656590;
$custom-dark: #000000;
JSON
{
  "hex": "#222d63",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 229.846,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32013,
    "c": 0.09594,
    "h": 271.3
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#222D63
secondary
#978A4A
accent
#C14FD8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #222D63

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

Preview Lab → · Contrast checker → · Palette generator →

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