#221A67#221A67

#221A67 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.128 H 279.3°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#221A67
RGBrgb(34, 26, 103)
HSLhsl(246, 60%, 25%)
HSVhsv(246, 75%, 40%)
CMYKcmyk(67%, 74.8%, 0%, 59.6%)
CIE-LABlab(15.79, 28.95, -43.78)
CIE-LCHlch(15.79, 52.49, 303.48°)
OKLaboklab(28.65% 0.0206 -0.1263)
OKLCHoklch(28.65% 0.128 279.3)
XYZxyz(3.4765, 2.0579, 13.0433)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221A67 #5F671A
analogous
#1A3867 #221A67 #481A67
triadic
#221A67 #67221A #1A6722
tetradic
#221A67 #671A38 #5F671A #1A6748
square
#221A67 #671A38 #5F671A #1A6748
split-complementary
#221A67 #67481A #38671A
monochromatic
#080618 #120E36 #221A67 #322698 #4233C9

Accessibility & contrast

On white

14.88
#221A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#221A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221A67
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221A67#FFFFFF#000000##FFFFFF
##221A671.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002466
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #221a67;
/* rgb */ color: rgb(34, 26, 103);
/* oklch */ color: oklch(28.6% 0.128 279.3);
Tailwind
colors: {
  custom: {
    50: '#675793',
    500: '#221a67',
    950: '#000000',
  },
}
SCSS
$custom: #221a67;
$custom-light: #675793;
$custom-dark: #000000;
JSON
{
  "hex": "#221a67",
  "rgb": {
    "r": 34,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 246.234,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28646,
    "c": 0.12799,
    "h": 279.3
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#221A67
secondary
#939D40
accent
#E345D2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221A67

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

Preview Lab → · Contrast checker → · Palette generator →

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