#221970#221970

#221970 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.141 H 277.9°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#221970
RGBrgb(34, 25, 112)
HSLhsl(246, 64%, 27%)
HSVhsv(246, 78%, 44%)
CMYKcmyk(69.6%, 77.7%, 0%, 56.1%)
CIE-LABlab(16.53, 32.71, -48.45)
CIE-LCHlch(16.53, 58.45, 304.02°)
OKLaboklab(29.46% 0.0194 -0.1399)
OKLCHoklch(29.46% 0.141 277.9)
XYZxyz(3.9310, 2.2049, 15.5445)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221970 #677019
analogous
#193C70 #221970 #4E1970
triadic
#221970 #702219 #197022
tetradic
#221970 #70193C #677019 #19704E
square
#221970 #70193C #677019 #19704E
split-complementary
#221970 #704E19 #3C7019
monochromatic
#080619 #130E3E #221970 #3124A2 #4332D1

Accessibility & contrast

On white

14.57
#221970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#221970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221970
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221970#FFFFFF#000000##FFFFFF
##2219701.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #221970;
/* rgb */ color: rgb(34, 25, 112);
/* oklch */ color: oklch(29.5% 0.141 277.9);
Tailwind
colors: {
  custom: {
    50: '#69579a',
    500: '#221970',
    950: '#000000',
  },
}
SCSS
$custom: #221970;
$custom-light: #69579a;
$custom-dark: #000000;
JSON
{
  "hex": "#221970",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 246.207,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29461,
    "c": 0.14126,
    "h": 277.9
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#221970
secondary
#9BA540
accent
#E741D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221970

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

Preview Lab → · Contrast checker → · Palette generator →

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