#1C208B#1C208B

#1C208B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.171 H 270.8°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#1C208B
RGBrgb(28, 32, 139)
HSLhsl(238, 66%, 33%)
HSVhsv(238, 80%, 55%)
CMYKcmyk(79.9%, 77%, 0%, 45.5%)
CIE-LABlab(20.61, 37.38, -58.91)
CIE-LCHlch(20.61, 69.77, 302.40°)
OKLaboklab(33.14% 0.0024 -0.1706)
OKLCHoklch(33.14% 0.171 270.8)
XYZxyz(5.6540, 3.1434, 24.7298)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C208B #8B871C
analogous
#1C578B #1C208B #501C8B
triadic
#1C208B #8B1C20 #208B1C
tetradic
#1C208B #8B1C57 #8B871C #1C8B50
square
#1C208B #8B1C57 #8B871C #1C8B50
split-complementary
#1C208B #8B501C #578B1C
monochromatic
#070925 #121458 #1C208B #262CBE #474DDA

Accessibility & contrast

On white

12.89
#1C208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1C208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C208B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C208B#FFFFFF#000000##FFFFFF
##1C208B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002C89
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c208b;
/* rgb */ color: rgb(28, 32, 139);
/* oklch */ color: oklch(33.1% 0.171 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d5dae',
    500: '#1c208b',
    950: '#000000',
  },
}
SCSS
$custom: #1c208b;
$custom-light: #6d5dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c208b",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 237.838,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33141,
    "c": 0.1706,
    "h": 270.8
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#1C208B
secondary
#BCB847
accent
#E33EE9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C208B

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

Preview Lab → · Contrast checker → · Palette generator →

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