#221985#221985

#221985 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.168 H 274.8°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#221985
RGBrgb(34, 25, 133)
HSLhsl(245, 68%, 31%)
HSVhsv(245, 81%, 52%)
CMYKcmyk(74.4%, 81.2%, 0%, 47.8%)
CIE-LABlab(18.92, 39.77, -57.92)
CIE-LCHlch(18.92, 70.26, 304.48°)
OKLaboklab(31.85% 0.0141 -0.1675)
OKLCHoklch(31.85% 0.168 274.8)
XYZxyz(5.2396, 2.7283, 22.4362)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221985 #7C8519
analogous
#194685 #221985 #581985
triadic
#221985 #852219 #198522
tetradic
#221985 #851946 #7C8519 #198558
square
#221985 #851946 #7C8519 #198558
split-complementary
#221985 #855819 #468519
monochromatic
#08061E #150F51 #221985 #2F23B9 #4B3EDB

Accessibility & contrast

On white

13.59
#221985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#221985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221985
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221985#FFFFFF#000000##FFFFFF
##2219851.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #221985;
/* rgb */ color: rgb(34, 25, 133);
/* oklch */ color: oklch(31.9% 0.168 274.8);
Tailwind
colors: {
  custom: {
    50: '#6f59aa',
    500: '#221985',
    950: '#000000',
  },
}
SCSS
$custom: #221985;
$custom-light: #6f59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#221985",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 245,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31851,
    "c": 0.16809,
    "h": 274.8
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#221985
secondary
#AFB941
accent
#EB3DDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #221985

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

Preview Lab → · Contrast checker → · Palette generator →

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