#1C137F#1C137F

#1C137F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.0% C 0.167 H 273.3°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#1C137F
RGBrgb(28, 19, 127)
HSLhsl(245, 74%, 29%)
HSVhsv(245, 85%, 50%)
CMYKcmyk(78%, 85%, 0%, 50.2%)
CIE-LABlab(16.72, 40.39, -57.78)
CIE-LCHlch(16.72, 70.50, 304.96°)
OKLaboklab(30% 0.0097 -0.1671)
OKLCHoklch(30% 0.167 273.3)
XYZxyz(4.5413, 2.2445, 20.2684)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C137F #767F13
analogous
#13407F #1C137F #52137F
triadic
#1C137F #7F1C13 #137F1C
tetradic
#1C137F #7F1340 #767F13 #137F52
square
#1C137F #7F1340 #767F13 #137F52
split-complementary
#1C137F #7F5213 #407F13
monochromatic
#06041B #100B4A #1C137F #281BB4 #3C2DE0

Accessibility & contrast

On white

14.49
#1C137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1C137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C137F
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C137F#FFFFFF#000000##FFFFFF
##1C137F1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1c137f;
/* rgb */ color: rgb(28, 19, 127);
/* oklch */ color: oklch(30.0% 0.167 273.3);
Tailwind
colors: {
  custom: {
    50: '#6c55a5',
    500: '#1c137f',
    950: '#000000',
  },
}
SCSS
$custom: #1c137f;
$custom-light: #6c55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c137f",
  "rgb": {
    "r": 28,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 245,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29999,
    "c": 0.16741,
    "h": 273.3
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#1C137F
secondary
#AAB439
accent
#F137E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C137F

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

Preview Lab → · Contrast checker → · Palette generator →

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