#1C138E#1C138E

#1C138E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.185 H 271.7°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#1C138E
RGBrgb(28, 19, 142)
HSLhsl(244, 76%, 32%)
HSVhsv(244, 87%, 56%)
CMYKcmyk(80.3%, 86.6%, 0%, 44.3%)
CIE-LABlab(18.65, 45.13, -64.03)
CIE-LCHlch(18.65, 78.33, 305.17°)
OKLaboklab(31.88% 0.0056 -0.1852)
OKLCHoklch(31.88% 0.185 271.7)
XYZxyz(5.5926, 2.6650, 25.8056)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C138E #858E13
analogous
#13488E #1C138E #5A138E
triadic
#1C138E #8E1C13 #138E1C
tetradic
#1C138E #8E1348 #858E13 #138E5A
square
#1C138E #8E1348 #858E13 #138E5A
split-complementary
#1C138E #8E5A13 #488E13
monochromatic
#070522 #110C58 #1C138E #271AC4 #4437E4

Accessibility & contrast

On white

13.70
#1C138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C138E
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C138E#FFFFFF#000000##FFFFFF
##1C138E1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c138e;
/* rgb */ color: rgb(28, 19, 142);
/* oklch */ color: oklch(31.9% 0.185 271.7);
Tailwind
colors: {
  custom: {
    50: '#6f56b0',
    500: '#1c138e',
    950: '#000000',
  },
}
SCSS
$custom: #1c138e;
$custom-light: #6f56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c138e",
  "rgb": {
    "r": 28,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 244.39,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31879,
    "c": 0.1853,
    "h": 271.7
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C138E

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

Preview Lab → · Contrast checker → · Palette generator →

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