#221380#221380

#221380 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.167 H 276.2°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#221380
RGBrgb(34, 19, 128)
HSLhsl(248, 74%, 29%)
HSVhsv(248, 85%, 50%)
CMYKcmyk(73.4%, 85.2%, 0%, 49.8%)
CIE-LABlab(17.29, 41.16, -57.46)
CIE-LCHlch(17.29, 70.68, 305.62°)
OKLaboklab(30.55% 0.018 -0.1661)
OKLCHoklch(30.55% 0.167 276.2)
XYZxyz(4.7876, 2.3639, 20.6219)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221380 #718013
analogous
#133B80 #221380 #591380
triadic
#221380 #802213 #138022
tetradic
#221380 #80133B #718013 #138059
square
#221380 #80133B #718013 #138059
split-complementary
#221380 #805913 #3B8013
monochromatic
#07041B #140B4B #221380 #301BB5 #462DE0

Accessibility & contrast

On white

14.26
#221380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#221380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221380
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221380#FFFFFF#000000##FFFFFF
##2213801.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #221380;
/* rgb */ color: rgb(34, 19, 128);
/* oklch */ color: oklch(30.5% 0.167 276.2);
Tailwind
colors: {
  custom: {
    50: '#6e55a6',
    500: '#221380',
    950: '#000000',
  },
}
SCSS
$custom: #221380;
$custom-light: #6e55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#221380",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 248.257,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30545,
    "c": 0.16703,
    "h": 276.2
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#221380
secondary
#A4B539
accent
#F137D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #221380

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

Preview Lab → · Contrast checker → · Palette generator →

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