#1C138D#1C138D

#1C138D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.8% C 0.184 H 271.8°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#1C138D
RGBrgb(28, 19, 141)
HSLhsl(244, 76%, 31%)
HSVhsv(244, 87%, 55%)
CMYKcmyk(80.1%, 86.5%, 0%, 44.7%)
CIE-LABlab(18.52, 44.82, -63.62)
CIE-LCHlch(18.52, 77.82, 305.16°)
OKLaboklab(31.75% 0.0059 -0.184)
OKLCHoklch(31.75% 0.184 271.8)
XYZxyz(5.5179, 2.6351, 25.4120)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C138D #848D13
analogous
#13478D #1C138D #59138D
triadic
#1C138D #8D1C13 #138D1C
tetradic
#1C138D #8D1347 #848D13 #138D59
square
#1C138D #8D1347 #848D13 #138D59
split-complementary
#1C138D #8D5913 #478D13
monochromatic
#070421 #110C57 #1C138D #271AC3 #4336E4

Accessibility & contrast

On white

13.75
#1C138D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1C138D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C138D
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C138D#FFFFFF#000000##FFFFFF
##1C138D1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00278B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c138d;
/* rgb */ color: rgb(28, 19, 141);
/* oklch */ color: oklch(31.8% 0.184 271.8);
Tailwind
colors: {
  custom: {
    50: '#6f56b0',
    500: '#1c138d',
    950: '#000000',
  },
}
SCSS
$custom: #1c138d;
$custom-light: #6f56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c138d",
  "rgb": {
    "r": 28,
    "g": 19,
    "b": 141
  },
  "hsl": {
    "h": 244.426,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31752,
    "c": 0.18413,
    "h": 271.8
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#1C138D
secondary
#B7C13B
accent
#F335E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1C138D

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

Preview Lab → · Contrast checker → · Palette generator →

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