#222D67#222D67

#222D67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.102 H 271.5°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#222D67
RGBrgb(34, 45, 103)
HSLhsl(230, 50%, 27%)
HSVhsv(230, 67%, 40%)
CMYKcmyk(67%, 56.3%, 0%, 59.6%)
CIE-LABlab(20.81, 15.90, -35.60)
CIE-LCHlch(20.81, 38.99, 294.07°)
OKLaboklab(32.34% 0.0026 -0.1022)
OKLCHoklch(32.34% 0.102 271.5)
XYZxyz(4.0454, 3.1958, 13.2330)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D67 #675C22
analogous
#225067 #222D67 #3A2267
triadic
#222D67 #67222D #2D6722
tetradic
#222D67 #672250 #675C22 #22673A
square
#222D67 #672250 #675C22 #22673A
split-complementary
#222D67 #673A22 #506722
monochromatic
#080A17 #131939 #222D67 #314195 #4357C1

Accessibility & contrast

On white

12.81
#222D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#222D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D67
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D67#FFFFFF#000000##FFFFFF
##222D671.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073569
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #222d67;
/* rgb */ color: rgb(34, 45, 103);
/* oklch */ color: oklch(32.3% 0.102 271.5);
Tailwind
colors: {
  custom: {
    50: '#656593',
    500: '#222d67',
    950: '#000000',
  },
}
SCSS
$custom: #222d67;
$custom-light: #656593;
$custom-dark: #000000;
JSON
{
  "hex": "#222d67",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 230.435,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32339,
    "c": 0.10219,
    "h": 271.5
  },
  "luminance": 0.03196
}

Semantic roles & 50–950 ramp

primary
#222D67
secondary
#9B8E4A
accent
#C44EDA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #222D67

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

Preview Lab → · Contrast checker → · Palette generator →

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