#221865#221865

#221865 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.128 H 280.2°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#221865
RGBrgb(34, 24, 101)
HSLhsl(248, 62%, 25%)
HSVhsv(248, 76%, 40%)
CMYKcmyk(66.3%, 76.2%, 0%, 60.4%)
CIE-LABlab(15.13, 29.50, -43.55)
CIE-LCHlch(15.13, 52.60, 304.12°)
OKLaboklab(28.11% 0.0226 -0.1256)
OKLCHoklch(28.11% 0.128 280.2)
XYZxyz(3.3345, 1.9327, 12.5067)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221865 #5B6518
analogous
#183565 #221865 #491865
triadic
#221865 #652218 #186522
tetradic
#221865 #651835 #5B6518 #186549
square
#221865 #651835 #5B6518 #186549
split-complementary
#221865 #654918 #356518
monochromatic
#080619 #110C34 #221865 #332496 #4330C8

Accessibility & contrast

On white

15.14
#221865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#221865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221865
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221865#FFFFFF#000000##FFFFFF
##2218651.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #221865;
/* rgb */ color: rgb(34, 24, 101);
/* oklch */ color: oklch(28.1% 0.128 280.2);
Tailwind
colors: {
  custom: {
    50: '#675692',
    500: '#221865',
    950: '#000000',
  },
}
SCSS
$custom: #221865;
$custom-light: #675692;
$custom-dark: #000000;
JSON
{
  "hex": "#221865",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 247.792,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28114,
    "c": 0.12764,
    "h": 280.2
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#221865
secondary
#8F9B3E
accent
#E543D0
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221865

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

Preview Lab → · Contrast checker → · Palette generator →

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