#221275#221275

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

Color values

HEX#221275
RGBrgb(34, 18, 117)
HSLhsl(250, 73%, 26%)
HSVhsv(250, 85%, 46%)
CMYKcmyk(70.9%, 84.6%, 0%, 54.1%)
CIE-LABlab(15.78, 38.16, -52.91)
CIE-LCHlch(15.78, 65.24, 305.80°)
OKLaboklab(29.11% 0.0219 -0.1529)
OKLCHoklch(29.11% 0.154 278.1)
XYZxyz(4.0858, 2.0567, 17.0078)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221275 #657512
analogous
#123475 #221275 #541275
triadic
#221275 #752212 #127522
tetradic
#221275 #751234 #657512 #127554
square
#221275 #751234 #657512 #127554
split-complementary
#221275 #755412 #347512
monochromatic
#08041B #130A40 #221275 #311AAA #4224DD

Accessibility & contrast

On white

14.88
#221275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221275
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221275#FFFFFF#000000##FFFFFF
##2212751.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221275;
/* rgb */ color: rgb(34, 18, 117);
/* oklch */ color: oklch(29.1% 0.154 278.1);
Tailwind
colors: {
  custom: {
    50: '#6b549e',
    500: '#221275',
    950: '#000000',
  },
}
SCSS
$custom: #221275;
$custom-light: #6b549e;
$custom-dark: #000000;
JSON
{
  "hex": "#221275",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 249.697,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29111,
    "c": 0.15441,
    "h": 278.1
  },
  "luminance": 0.02057
}

Semantic roles & 50–950 ramp

primary
#221275
secondary
#99AC37
accent
#F038D2
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #221275

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

Preview Lab → · Contrast checker → · Palette generator →

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