#1C2170#1C2170

#1C2170 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.134 H 272.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#1C2170
RGBrgb(28, 33, 112)
HSLhsl(236, 60%, 27%)
HSVhsv(236, 75%, 44%)
CMYKcmyk(75%, 70.5%, 0%, 56.1%)
CIE-LABlab(17.94, 26.86, -46.14)
CIE-LCHlch(17.94, 53.39, 300.20°)
OKLaboklab(30.36% 0.0059 -0.1334)
OKLCHoklch(30.36% 0.134 272.5)
XYZxyz(3.9464, 2.5040, 15.6014)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2170 #706B1C
analogous
#1C4B70 #1C2170 #411C70
triadic
#1C2170 #701C21 #21701C
tetradic
#1C2170 #701C4B #706B1C #1C7041
square
#1C2170 #701C4B #706B1C #1C7041
split-complementary
#1C2170 #70411C #4B701C
monochromatic
#060718 #10133F #1C2170 #282FA1 #3942CD

Accessibility & contrast

On white

13.99
#1C2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1C2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2170
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2170#FFFFFF#000000##FFFFFF
##1C21701.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c2170;
/* rgb */ color: rgb(28, 33, 112);
/* oklch */ color: oklch(30.4% 0.134 272.5);
Tailwind
colors: {
  custom: {
    50: '#665c9a',
    500: '#1c2170',
    950: '#000000',
  },
}
SCSS
$custom: #1c2170;
$custom-light: #665c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2170",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 236.429,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30357,
    "c": 0.13352,
    "h": 272.5
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#1C2170
secondary
#A59F43
accent
#DA45E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1C2170

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

Preview Lab → · Contrast checker → · Palette generator →

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