#1C207B#1C207B

#1C207B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.150 H 271.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#1C207B
RGBrgb(28, 32, 123)
HSLhsl(237, 63%, 30%)
HSVhsv(237, 77%, 48%)
CMYKcmyk(77.2%, 74%, 0%, 51.8%)
CIE-LABlab(18.84, 31.63, -51.73)
CIE-LCHlch(18.84, 60.63, 301.45°)
OKLaboklab(31.36% 0.005 -0.1497)
OKLCHoklch(31.36% 0.15 271.9)
XYZxyz(4.5693, 2.7095, 19.0172)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C207B #7B771C
analogous
#1C4F7B #1C207B #481C7B
triadic
#1C207B #7B1C20 #207B1C
tetradic
#1C207B #7B1C4F #7B771C #1C7B48
square
#1C207B #7B1C4F #7B771C #1C7B48
split-complementary
#1C207B #7B481C #4F7B1C
monochromatic
#060619 #111349 #1C207B #272DAD #3E45D3

Accessibility & contrast

On white

13.62
#1C207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1C207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C207B
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C207B#FFFFFF#000000##FFFFFF
##1C207B1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c207b;
/* rgb */ color: rgb(28, 32, 123);
/* oklch */ color: oklch(31.4% 0.150 271.9);
Tailwind
colors: {
  custom: {
    50: '#695ca2',
    500: '#1c207b',
    950: '#000000',
  },
}
SCSS
$custom: #1c207b;
$custom-light: #695ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c207b",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 237.474,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31355,
    "c": 0.14977,
    "h": 271.9
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#1C207B
secondary
#AFAA44
accent
#DF42E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C207B

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

Preview Lab → · Contrast checker → · Palette generator →

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