#1C208D#1C208D

#1C208D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.173 H 270.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#1C208D
RGBrgb(28, 32, 141)
HSLhsl(238, 67%, 33%)
HSVhsv(238, 80%, 55%)
CMYKcmyk(80.1%, 77.3%, 0%, 44.7%)
CIE-LABlab(20.84, 38.09, -59.78)
CIE-LCHlch(20.84, 70.88, 302.50°)
OKLaboklab(33.37% 0.002 -0.1731)
OKLCHoklch(33.37% 0.173 270.7)
XYZxyz(5.8015, 3.2023, 25.5065)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C208D #8D891C
analogous
#1C588D #1C208D #501C8D
triadic
#1C208D #8D1C20 #208D1C
tetradic
#1C208D #8D1C58 #8D891C #1C8D50
square
#1C208D #8D1C58 #8D891C #1C8D50
split-complementary
#1C208D #8D501C #588D1C
monochromatic
#080927 #12145A #1C208D #262CC0 #494EDB

Accessibility & contrast

On white

12.80
#1C208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1C208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C208D
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C208D#FFFFFF#000000##FFFFFF
##1C208D1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002C8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c208d;
/* rgb */ color: rgb(28, 32, 141);
/* oklch */ color: oklch(33.4% 0.173 270.7);
Tailwind
colors: {
  custom: {
    50: '#6e5db0',
    500: '#1c208d',
    950: '#000000',
  },
}
SCSS
$custom: #1c208d;
$custom-light: #6e5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c208d",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 237.876,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3337,
    "c": 0.17312,
    "h": 270.7
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#1C208D
secondary
#BDB948
accent
#E43EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C208D

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

Preview Lab → · Contrast checker → · Palette generator →

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