#1C217A#1C217A

#1C217A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.147 H 271.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1C217A
RGBrgb(28, 33, 122)
HSLhsl(237, 63%, 29%)
HSVhsv(237, 77%, 48%)
CMYKcmyk(77%, 73%, 0%, 52.2%)
CIE-LABlab(18.97, 30.62, -50.88)
CIE-LCHlch(18.97, 59.38, 301.04°)
OKLaboklab(31.41% 0.0046 -0.1472)
OKLCHoklch(31.41% 0.147 271.8)
XYZxyz(4.5344, 2.7393, 18.6983)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C217A #7A751C
analogous
#1C507A #1C217A #461C7A
triadic
#1C217A #7A1C21 #217A1C
tetradic
#1C217A #7A1C50 #7A751C #1C7A46
square
#1C217A #7A1C50 #7A751C #1C7A46
split-complementary
#1C217A #7A461C #507A1C
monochromatic
#060719 #111448 #1C217A #272EAC #3E46D3

Accessibility & contrast

On white

13.57
#1C217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1C217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C217A
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C217A#FFFFFF#000000##FFFFFF
##1C217A1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c217a;
/* rgb */ color: rgb(28, 33, 122);
/* oklch */ color: oklch(31.4% 0.147 271.8);
Tailwind
colors: {
  custom: {
    50: '#695da1',
    500: '#1c217a',
    950: '#000000',
  },
}
SCSS
$custom: #1c217a;
$custom-light: #695da1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c217a",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 236.809,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31414,
    "c": 0.14729,
    "h": 271.8
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#1C217A
secondary
#AEA844
accent
#DD42E6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C217A

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

Preview Lab → · Contrast checker → · Palette generator →

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