#1C208E#1C208E

#1C208E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.174 H 270.6°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#1C208E
RGBrgb(28, 32, 142)
HSLhsl(238, 67%, 33%)
HSVhsv(238, 80%, 56%)
CMYKcmyk(80.3%, 77.5%, 0%, 44.3%)
CIE-LABlab(20.95, 38.44, -60.21)
CIE-LCHlch(20.95, 71.43, 302.55°)
OKLaboklab(33.48% 0.0019 -0.1744)
OKLCHoklch(33.48% 0.174 270.6)
XYZxyz(5.8762, 3.2322, 25.9001)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C208E #8E8A1C
analogous
#1C598E #1C208E #511C8E
triadic
#1C208E #8E1C20 #208E1C
tetradic
#1C208E #8E1C59 #8E8A1C #1C8E51
square
#1C208E #8E1C59 #8E8A1C #1C8E51
split-complementary
#1C208E #8E511C #598E1C
monochromatic
#080928 #12145B #1C208E #262CC1 #494EDB

Accessibility & contrast

On white

12.75
#1C208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C208E
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C208E#FFFFFF#000000##FFFFFF
##1C208E1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c208e;
/* rgb */ color: rgb(28, 32, 142);
/* oklch */ color: oklch(33.5% 0.174 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e5db0',
    500: '#1c208e',
    950: '#000000',
  },
}
SCSS
$custom: #1c208e;
$custom-light: #6e5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c208e",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 237.895,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33484,
    "c": 0.17438,
    "h": 270.6
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C208E

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

Preview Lab → · Contrast checker → · Palette generator →

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