#1C137C#1C137C

#1C137C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.164 H 273.7°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#1C137C
RGBrgb(28, 19, 124)
HSLhsl(245, 73%, 28%)
HSVhsv(245, 85%, 49%)
CMYKcmyk(77.4%, 84.7%, 0%, 51.4%)
CIE-LABlab(16.34, 39.42, -56.50)
CIE-LCHlch(16.34, 68.89, 304.91°)
OKLaboklab(29.63% 0.0105 -0.1634)
OKLCHoklch(29.63% 0.164 273.7)
XYZxyz(4.3486, 2.1674, 19.2540)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C137C #737C13
analogous
#133E7C #1C137C #50137C
triadic
#1C137C #7C1C13 #137C1C
tetradic
#1C137C #7C133E #737C13 #137C50
square
#1C137C #7C133E #737C13 #137C50
split-complementary
#1C137C #7C5013 #3E7C13
monochromatic
#06041B #100B47 #1C137C #281BB1 #3A2BDF

Accessibility & contrast

On white

14.65
#1C137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1C137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C137C
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C137C#FFFFFF#000000##FFFFFF
##1C137C1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00237A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1c137c;
/* rgb */ color: rgb(28, 19, 124);
/* oklch */ color: oklch(29.6% 0.164 273.7);
Tailwind
colors: {
  custom: {
    50: '#6b54a3',
    500: '#1c137c',
    950: '#000000',
  },
}
SCSS
$custom: #1c137c;
$custom-light: #6b54a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c137c",
  "rgb": {
    "r": 28,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 245.143,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29628,
    "c": 0.16374,
    "h": 273.7
  },
  "luminance": 0.02168
}

Semantic roles & 50–950 ramp

primary
#1C137C
secondary
#A7B239
accent
#F038E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C137C

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

Preview Lab → · Contrast checker → · Palette generator →

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