#1C219D#1C219D

#1C219D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.192 H 269.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#1C219D
RGBrgb(28, 33, 157)
HSLhsl(238, 70%, 36%)
HSVhsv(238, 82%, 62%)
CMYKcmyk(82.2%, 79%, 0%, 38.4%)
CIE-LABlab(22.89, 43.01, -66.26)
CIE-LCHlch(22.89, 79.00, 302.99°)
OKLaboklab(35.36% -0.0012 -0.1919)
OKLCHoklch(35.36% 0.192 269.6)
XYZxyz(7.1065, 3.7681, 32.2445)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C219D #9D981C
analogous
#1C629D #1C219D #581C9D
triadic
#1C219D #9D1C21 #219D1C
tetradic
#1C219D #9D1C62 #9D981C #1C9D58
square
#1C219D #9D1C62 #9D981C #1C9D58
split-complementary
#1C219D #9D581C #629D1C
monochromatic
#090B35 #131669 #1C219D #252CD1 #5359E0

Accessibility & contrast

On white

11.97
#1C219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1C219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C219D
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C219D#FFFFFF#000000##FFFFFF
##1C219D1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c219d;
/* rgb */ color: rgb(28, 33, 157);
/* oklch */ color: oklch(35.4% 0.192 269.6);
Tailwind
colors: {
  custom: {
    50: '#725fbb',
    500: '#1c219d',
    950: '#000000',
  },
}
SCSS
$custom: #1c219d;
$custom-light: #725fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c219d",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 237.674,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35361,
    "c": 0.19193,
    "h": 269.6
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#1C219D
secondary
#C3BF51
accent
#E63BED
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1C219D

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

Preview Lab → · Contrast checker → · Palette generator →

#1C219D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva