#1C207D#1C207D

#1C207D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.152 H 271.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#1C207D
RGBrgb(28, 32, 125)
HSLhsl(238, 63%, 30%)
HSVhsv(238, 78%, 49%)
CMYKcmyk(77.6%, 74.4%, 0%, 51%)
CIE-LABlab(19.06, 32.36, -52.64)
CIE-LCHlch(19.06, 61.80, 301.58°)
OKLaboklab(31.57% 0.0047 -0.1524)
OKLCHoklch(31.57% 0.152 271.8)
XYZxyz(4.6958, 2.7601, 19.6833)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C207D #7D791C
analogous
#1C507D #1C207D #491C7D
triadic
#1C207D #7D1C20 #207D1C
tetradic
#1C207D #7D1C50 #7D791C #1C7D49
square
#1C207D #7D1C50 #7D791C #1C7D49
split-complementary
#1C207D #7D491C #507D1C
monochromatic
#060619 #11134B #1C207D #272DAF #3F45D4

Accessibility & contrast

On white

13.53
#1C207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1C207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C207D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C207D#FFFFFF#000000##FFFFFF
##1C207D1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c207d;
/* rgb */ color: rgb(28, 32, 125);
/* oklch */ color: oklch(31.6% 0.152 271.8);
Tailwind
colors: {
  custom: {
    50: '#6a5ca4',
    500: '#1c207d',
    950: '#000000',
  },
}
SCSS
$custom: #1c207d;
$custom-light: #6a5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c207d",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 237.526,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.31574,
    "c": 0.15244,
    "h": 271.8
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#1C207D
secondary
#B1AC44
accent
#E041E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C207D

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

Preview Lab → · Contrast checker → · Palette generator →

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