#1C219F#1C219F

#1C219F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.194 H 269.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#1C219F
RGBrgb(28, 33, 159)
HSLhsl(238, 70%, 37%)
HSVhsv(238, 82%, 62%)
CMYKcmyk(82.4%, 79.2%, 0%, 37.6%)
CIE-LABlab(23.12, 43.69, -67.09)
CIE-LCHlch(23.12, 80.06, 303.07°)
OKLaboklab(35.6% -0.0015 -0.1943)
OKLCHoklch(35.6% 0.194 269.5)
XYZxyz(7.2786, 3.8369, 33.1512)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C219F #9F9A1C
analogous
#1C639F #1C219F #591C9F
triadic
#1C219F #9F1C21 #219F1C
tetradic
#1C219F #9F1C63 #9F9A1C #1C9F59
square
#1C219F #9F1C63 #9F9A1C #1C9F59
split-complementary
#1C219F #9F591C #639F1C
monochromatic
#0A0B37 #13166B #1C219F #252CD3 #545AE1

Accessibility & contrast

On white

11.88
#1C219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1C219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C219F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C219F#FFFFFF#000000##FFFFFF
##1C219F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c219f;
/* rgb */ color: rgb(28, 33, 159);
/* oklch */ color: oklch(35.6% 0.194 269.5);
Tailwind
colors: {
  custom: {
    50: '#735fbd',
    500: '#1c219f',
    950: '#000000',
  },
}
SCSS
$custom: #1c219f;
$custom-light: #735fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c219f",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 237.71,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35595,
    "c": 0.19435,
    "h": 269.5
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#1C219F
secondary
#C4C053
accent
#E63BED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1C219F

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

Preview Lab → · Contrast checker → · Palette generator →

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