#1C137E#1C137E

#1C137E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.166 H 273.4°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#1C137E
RGBrgb(28, 19, 126)
HSLhsl(245, 74%, 28%)
HSVhsv(245, 85%, 49%)
CMYKcmyk(77.8%, 84.9%, 0%, 50.6%)
CIE-LABlab(16.59, 40.07, -57.35)
CIE-LCHlch(16.59, 69.97, 304.94°)
OKLaboklab(29.88% 0.01 -0.1659)
OKLCHoklch(29.88% 0.166 273.4)
XYZxyz(4.4764, 2.2185, 19.9269)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C137E #757E13
analogous
#133F7E #1C137E #51137E
triadic
#1C137E #7E1C13 #137E1C
tetradic
#1C137E #7E133F #757E13 #137E51
square
#1C137E #7E133F #757E13 #137E51
split-complementary
#1C137E #7E5113 #3F7E13
monochromatic
#06041B #100B49 #1C137E #281BB3 #3B2CDF

Accessibility & contrast

On white

14.54
#1C137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1C137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C137E
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C137E#FFFFFF#000000##FFFFFF
##1C137E1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1c137e;
/* rgb */ color: rgb(28, 19, 126);
/* oklch */ color: oklch(29.9% 0.166 273.4);
Tailwind
colors: {
  custom: {
    50: '#6b54a5',
    500: '#1c137e',
    950: '#000000',
  },
}
SCSS
$custom: #1c137e;
$custom-light: #6b54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c137e",
  "rgb": {
    "r": 28,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 245.047,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29875,
    "c": 0.16619,
    "h": 273.4
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#1C137E
secondary
#A9B439
accent
#F037E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C137E

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

Preview Lab → · Contrast checker → · Palette generator →

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