#221374#221374

#221374 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.152 H 278.2°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#221374
RGBrgb(34, 19, 116)
HSLhsl(249, 72%, 26%)
HSVhsv(249, 84%, 45%)
CMYKcmyk(70.7%, 83.6%, 0%, 54.5%)
CIE-LABlab(15.83, 37.35, -52.19)
CIE-LCHlch(15.83, 64.17, 305.59°)
OKLaboklab(29.11% 0.0217 -0.1507)
OKLCHoklch(29.11% 0.152 278.2)
XYZxyz(4.0439, 2.0664, 16.7054)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221374 #657413
analogous
#133574 #221374 #531374
triadic
#221374 #742213 #137422
tetradic
#221374 #741335 #657413 #137453
square
#221374 #741335 #657413 #137453
split-complementary
#221374 #745313 #357413
monochromatic
#08041A #130A3F #221374 #311CA9 #4226DB

Accessibility & contrast

On white

14.86
#221374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#221374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221374
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221374#FFFFFF#000000##FFFFFF
##2213741.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #221374;
/* rgb */ color: rgb(34, 19, 116);
/* oklch */ color: oklch(29.1% 0.152 278.2);
Tailwind
colors: {
  custom: {
    50: '#6b549d',
    500: '#221374',
    950: '#000000',
  },
}
SCSS
$custom: #221374;
$custom-light: #6b549d;
$custom-dark: #000000;
JSON
{
  "hex": "#221374",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 249.278,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.2911,
    "c": 0.15231,
    "h": 278.2
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#221374
secondary
#99AA38
accent
#EF39D3
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #221374

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

Preview Lab → · Contrast checker → · Palette generator →

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