#1C138F#1C138F

#1C138F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.186 H 271.6°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#1C138F
RGBrgb(28, 19, 143)
HSLhsl(244, 77%, 32%)
HSVhsv(244, 87%, 56%)
CMYKcmyk(80.4%, 86.7%, 0%, 43.9%)
CIE-LABlab(18.78, 45.43, -64.44)
CIE-LCHlch(18.78, 78.84, 305.19°)
OKLaboklab(32.01% 0.0053 -0.1864)
OKLCHoklch(32.01% 0.186 271.6)
XYZxyz(5.6680, 2.6952, 26.2028)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C138F #868F13
analogous
#13488F #1C138F #5A138F
triadic
#1C138F #8F1C13 #138F1C
tetradic
#1C138F #8F1348 #868F13 #138F5A
square
#1C138F #8F1348 #868F13 #138F5A
split-complementary
#1C138F #8F5A13 #488F13
monochromatic
#070523 #110C59 #1C138F #271AC5 #4438E5

Accessibility & contrast

On white

13.64
#1C138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1C138F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C138F
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C138F#FFFFFF#000000##FFFFFF
##1C138F1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c138f;
/* rgb */ color: rgb(28, 19, 143);
/* oklch */ color: oklch(32.0% 0.186 271.6);
Tailwind
colors: {
  custom: {
    50: '#7056b1',
    500: '#1c138f',
    950: '#000000',
  },
}
SCSS
$custom: #1c138f;
$custom-light: #7056b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c138f",
  "rgb": {
    "r": 28,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 244.355,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32005,
    "c": 0.18648,
    "h": 271.6
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C138F

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

Preview Lab → · Contrast checker → · Palette generator →

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