#1C208F#1C208F

#1C208F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.176 H 270.5°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#1C208F
RGBrgb(28, 32, 143)
HSLhsl(238, 67%, 34%)
HSVhsv(238, 80%, 56%)
CMYKcmyk(80.4%, 77.6%, 0%, 43.9%)
CIE-LABlab(21.07, 38.78, -60.64)
CIE-LCHlch(21.07, 71.99, 302.60°)
OKLaboklab(33.6% 0.0017 -0.1756)
OKLCHoklch(33.6% 0.176 270.5)
XYZxyz(5.9516, 3.2624, 26.2973)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C208F #8F8B1C
analogous
#1C598F #1C208F #511C8F
triadic
#1C208F #8F1C20 #208F1C
tetradic
#1C208F #8F1C59 #8F8B1C #1C8F51
square
#1C208F #8F1C59 #8F8B1C #1C8F51
split-complementary
#1C208F #8F511C #598F1C
monochromatic
#080929 #12155C #1C208F #262BC2 #4A4FDC

Accessibility & contrast

On white

12.71
#1C208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1C208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C208F
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C208F#FFFFFF#000000##FFFFFF
##1C208F1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c208f;
/* rgb */ color: rgb(28, 32, 143);
/* oklch */ color: oklch(33.6% 0.176 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f5db1',
    500: '#1c208f',
    950: '#000000',
  },
}
SCSS
$custom: #1c208f;
$custom-light: #6f5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c208f",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 237.913,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33599,
    "c": 0.17564,
    "h": 270.5
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C208F

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

Preview Lab → · Contrast checker → · Palette generator →

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