#222A67#222A67

#222A67 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.106 H 273.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#222A67
RGBrgb(34, 42, 103)
HSLhsl(233, 50%, 27%)
HSVhsv(233, 67%, 40%)
CMYKcmyk(67%, 59.2%, 0%, 59.6%)
CIE-LABlab(19.94, 18.04, -37.00)
CIE-LCHlch(19.94, 41.17, 295.99°)
OKLaboklab(31.69% 0.0058 -0.1063)
OKLCHoklch(31.69% 0.106 273.1)
XYZxyz(3.9350, 2.9749, 13.1962)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A67 #675F22
analogous
#224D67 #222A67 #3D2267
triadic
#222A67 #67222A #2A6722
tetradic
#222A67 #67224D #675F22 #22673D
square
#222A67 #67224D #675F22 #22673D
split-complementary
#222A67 #673D22 #4D6722
monochromatic
#080917 #131739 #222A67 #313D95 #4351C1

Accessibility & contrast

On white

13.17
#222A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#222A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A67
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A67#FFFFFF#000000##FFFFFF
##222A671.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #222a67;
/* rgb */ color: rgb(34, 42, 103);
/* oklch */ color: oklch(31.7% 0.106 273.1);
Tailwind
colors: {
  custom: {
    50: '#666393',
    500: '#222a67',
    950: '#000000',
  },
}
SCSS
$custom: #222a67;
$custom-light: #666393;
$custom-dark: #000000;
JSON
{
  "hex": "#222a67",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 233.043,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31688,
    "c": 0.10649,
    "h": 273.1
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#222A67
secondary
#9B914A
accent
#CA4EDA
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #222A67

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

Preview Lab → · Contrast checker → · Palette generator →

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