#222767#222767

#222767 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.111 H 274.6°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#222767
RGBrgb(34, 39, 103)
HSLhsl(236, 50%, 27%)
HSVhsv(236, 67%, 40%)
CMYKcmyk(67%, 62.1%, 0%, 59.6%)
CIE-LABlab(19.10, 20.17, -38.37)
CIE-LCHlch(19.10, 43.35, 297.73°)
OKLaboklab(31.06% 0.0088 -0.1104)
OKLCHoklch(31.06% 0.111 274.6)
XYZxyz(3.8326, 2.7701, 13.1620)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222767 #676222
analogous
#224A67 #222767 #402267
triadic
#222767 #672227 #276722
tetradic
#222767 #67224A #676222 #226740
square
#222767 #67224A #676222 #226740
split-complementary
#222767 #674022 #4A6722
monochromatic
#080917 #131639 #222767 #313895 #434CC1

Accessibility & contrast

On white

13.51
#222767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#222767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222767
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222767#FFFFFF#000000##FFFFFF
##2227671.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222767;
/* rgb */ color: rgb(34, 39, 103);
/* oklch */ color: oklch(31.1% 0.111 274.6);
Tailwind
colors: {
  custom: {
    50: '#666193',
    500: '#222767',
    950: '#000000',
  },
}
SCSS
$custom: #222767;
$custom-light: #666193;
$custom-dark: #000000;
JSON
{
  "hex": "#222767",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 103
  },
  "hsl": {
    "h": 235.652,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31059,
    "c": 0.11075,
    "h": 274.6
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#222767
secondary
#9B954A
accent
#D04EDA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #222767

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

Preview Lab → · Contrast checker → · Palette generator →

#222767 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva