#1C208C#1C208C

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

Color values

HEX#1C208C
RGBrgb(28, 32, 140)
HSLhsl(238, 67%, 33%)
HSVhsv(238, 80%, 55%)
CMYKcmyk(80%, 77.1%, 0%, 45.1%)
CIE-LABlab(20.72, 37.74, -59.34)
CIE-LCHlch(20.72, 70.33, 302.45°)
OKLaboklab(33.26% 0.0022 -0.1718)
OKLCHoklch(33.26% 0.172 270.7)
XYZxyz(5.7274, 3.1727, 25.1164)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C208C #8C881C
analogous
#1C588C #1C208C #501C8C
triadic
#1C208C #8C1C20 #208C1C
tetradic
#1C208C #8C1C58 #8C881C #1C8C50
square
#1C208C #8C1C58 #8C881C #1C8C50
split-complementary
#1C208C #8C501C #588C1C
monochromatic
#080926 #121459 #1C208C #262CBF #484DDA

Accessibility & contrast

On white

12.85
#1C208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C208C
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C208C#FFFFFF#000000##FFFFFF
##1C208C1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c208c;
/* rgb */ color: rgb(28, 32, 140);
/* oklch */ color: oklch(33.3% 0.172 270.7);
Tailwind
colors: {
  custom: {
    50: '#6e5daf',
    500: '#1c208c',
    950: '#000000',
  },
}
SCSS
$custom: #1c208c;
$custom-light: #6e5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1c208c",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 237.857,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33255,
    "c": 0.17186,
    "h": 270.7
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#1C208C
secondary
#BCB848
accent
#E33EEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C208C

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

Preview Lab → · Contrast checker → · Palette generator →

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