#1C207F#1C207F

#1C207F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.155 H 271.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#1C207F
RGBrgb(28, 32, 127)
HSLhsl(238, 64%, 30%)
HSVhsv(238, 78%, 50%)
CMYKcmyk(78%, 74.8%, 0%, 50.2%)
CIE-LABlab(19.27, 33.09, -53.56)
CIE-LCHlch(19.27, 62.96, 301.71°)
OKLaboklab(31.79% 0.0044 -0.155)
OKLCHoklch(31.79% 0.155 271.6)
XYZxyz(4.8249, 2.8117, 20.3630)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C207F #7F7B1C
analogous
#1C517F #1C207F #4A1C7F
triadic
#1C207F #7F1C20 #207F1C
tetradic
#1C207F #7F1C51 #7F7B1C #1C7F4A
square
#1C207F #7F1C51 #7F7B1C #1C7F4A
split-complementary
#1C207F #7F4A1C #517F1C
monochromatic
#06071B #11134D #1C207F #272DB1 #4046D5

Accessibility & contrast

On white

13.44
#1C207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C207F
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C207F#FFFFFF#000000##FFFFFF
##1C207F1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c207f;
/* rgb */ color: rgb(28, 32, 127);
/* oklch */ color: oklch(31.8% 0.155 271.6);
Tailwind
colors: {
  custom: {
    50: '#6a5ca5',
    500: '#1c207f',
    950: '#000000',
  },
}
SCSS
$custom: #1c207f;
$custom-light: #6a5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c207f",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 237.576,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31794,
    "c": 0.15508,
    "h": 271.6
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C207F

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

Preview Lab → · Contrast checker → · Palette generator →

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