#1C218F#1C218F

#1C218F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.175 H 270.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#1C218F
RGBrgb(28, 33, 143)
HSLhsl(237, 67%, 34%)
HSVhsv(237, 80%, 56%)
CMYKcmyk(80.4%, 76.9%, 0%, 43.9%)
CIE-LABlab(21.27, 38.20, -60.30)
CIE-LCHlch(21.27, 71.39, 302.35°)
OKLaboklab(33.75% 0.0013 -0.1746)
OKLCHoklch(33.75% 0.175 270.4)
XYZxyz(5.9790, 3.3171, 26.3064)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C218F #8F8A1C
analogous
#1C5A8F #1C218F #501C8F
triadic
#1C218F #8F1C21 #218F1C
tetradic
#1C218F #8F1C5A #8F8A1C #1C8F50
square
#1C218F #8F1C5A #8F8A1C #1C8F50
split-complementary
#1C218F #8F501C #5A8F1C
monochromatic
#080929 #12155C #1C218F #262DC2 #4A50DC

Accessibility & contrast

On white

12.62
#1C218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1C218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C218F
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C218F#FFFFFF#000000##FFFFFF
##1C218F1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c218f;
/* rgb */ color: rgb(28, 33, 143);
/* oklch */ color: oklch(33.7% 0.175 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e5eb1',
    500: '#1c218f',
    950: '#000000',
  },
}
SCSS
$custom: #1c218f;
$custom-light: #6e5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c218f",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 237.391,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33745,
    "c": 0.17465,
    "h": 270.4
  },
  "luminance": 0.03318
}

Semantic roles & 50–950 ramp

primary
#1C218F
secondary
#BEB949
accent
#E33EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C218F

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

Preview Lab → · Contrast checker → · Palette generator →

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