#1C138A#1C138A

#1C138A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.4% C 0.181 H 272.1°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#1C138A
RGBrgb(28, 19, 138)
HSLhsl(245, 76%, 31%)
HSVhsv(245, 86%, 54%)
CMYKcmyk(79.7%, 86.2%, 0%, 45.9%)
CIE-LABlab(18.13, 43.88, -62.39)
CIE-LCHlch(18.13, 76.28, 305.12°)
OKLaboklab(31.37% 0.0067 -0.1805)
OKLCHoklch(31.37% 0.181 272.1)
XYZxyz(5.2977, 2.5470, 24.2522)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C138A #818A13
analogous
#13458A #1C138A #57138A
triadic
#1C138A #8A1C13 #138A1C
tetradic
#1C138A #8A1345 #818A13 #138A57
square
#1C138A #8A1345 #818A13 #138A57
split-complementary
#1C138A #8A5713 #458A13
monochromatic
#06041E #110C54 #1C138A #271AC0 #4234E3

Accessibility & contrast

On white

13.91
#1C138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1C138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C138A
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C138A#FFFFFF#000000##FFFFFF
##1C138A1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328D
Deuteranopia (green-blind)
#002688
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c138a;
/* rgb */ color: rgb(28, 19, 138);
/* oklch */ color: oklch(31.4% 0.181 272.1);
Tailwind
colors: {
  custom: {
    50: '#6e55ae',
    500: '#1c138a',
    950: '#000000',
  },
}
SCSS
$custom: #1c138a;
$custom-light: #6e55ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c138a",
  "rgb": {
    "r": 28,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 244.538,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31374,
    "c": 0.18059,
    "h": 272.1
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#1C138A
secondary
#B4BE3A
accent
#F235E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1C138A

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

Preview Lab → · Contrast checker → · Palette generator →

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