#221485#221485

#221485 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.3% C 0.172 H 275.3°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#221485
RGBrgb(34, 20, 133)
HSLhsl(247, 74%, 30%)
HSVhsv(247, 85%, 52%)
CMYKcmyk(74.4%, 85%, 0%, 47.8%)
CIE-LABlab(18.07, 42.26, -59.33)
CIE-LCHlch(18.07, 72.84, 305.46°)
OKLaboklab(31.26% 0.016 -0.1715)
OKLCHoklch(31.26% 0.172 275.3)
XYZxyz(5.1421, 2.5333, 22.4037)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221485 #778514
analogous
#143E85 #221485 #5B1485
triadic
#221485 #852214 #148522
tetradic
#221485 #85143E #778514 #14855B
square
#221485 #85143E #778514 #14855B
split-complementary
#221485 #855B14 #3E8514
monochromatic
#07041B #140C50 #221485 #301CBA #4933E0

Accessibility & contrast

On white

13.94
#221485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#221485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221485
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221485#FFFFFF#000000##FFFFFF
##2214851.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003188
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #221485;
/* rgb */ color: rgb(34, 20, 133);
/* oklch */ color: oklch(31.3% 0.172 275.3);
Tailwind
colors: {
  custom: {
    50: '#6f56aa',
    500: '#221485',
    950: '#000000',
  },
}
SCSS
$custom: #221485;
$custom-light: #6f56aa;
$custom-dark: #000000;
JSON
{
  "hex": "#221485",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 133
  },
  "hsl": {
    "h": 247.434,
    "s": 73.856,
    "l": 30
  },
  "oklch": {
    "l": 0.3126,
    "c": 0.17227,
    "h": 275.3
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#221485
secondary
#AABA3B
accent
#F137DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #221485

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

Preview Lab → · Contrast checker → · Palette generator →

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