#1C207E#1C207E

#1C207E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.154 H 271.7°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#1C207E
RGBrgb(28, 32, 126)
HSLhsl(238, 64%, 30%)
HSVhsv(238, 78%, 49%)
CMYKcmyk(77.8%, 74.6%, 0%, 50.6%)
CIE-LABlab(19.16, 32.73, -53.10)
CIE-LCHlch(19.16, 62.38, 301.65°)
OKLaboklab(31.68% 0.0046 -0.1537)
OKLCHoklch(31.68% 0.154 271.7)
XYZxyz(4.7600, 2.7858, 20.0215)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C207E #7E7A1C
analogous
#1C517E #1C207E #491C7E
triadic
#1C207E #7E1C20 #207E1C
tetradic
#1C207E #7E1C51 #7E7A1C #1C7E49
square
#1C207E #7E1C51 #7E7A1C #1C7E49
split-complementary
#1C207E #7E491C #517E1C
monochromatic
#06071A #11134C #1C207E #272DB0 #4046D5

Accessibility & contrast

On white

13.49
#1C207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1C207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C207E
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C207E#FFFFFF#000000##FFFFFF
##1C207E1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c207e;
/* rgb */ color: rgb(28, 32, 126);
/* oklch */ color: oklch(31.7% 0.154 271.7);
Tailwind
colors: {
  custom: {
    50: '#6a5ca4',
    500: '#1c207e',
    950: '#000000',
  },
}
SCSS
$custom: #1c207e;
$custom-light: #6a5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c207e",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 237.551,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31684,
    "c": 0.15377,
    "h": 271.7
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#1C207E
secondary
#B2AD44
accent
#E041E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1C207E

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

Preview Lab → · Contrast checker → · Palette generator →

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