#1C148E#1C148E

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

Color values

HEX#1C148E
RGBrgb(28, 20, 142)
HSLhsl(244, 75%, 32%)
HSVhsv(244, 86%, 56%)
CMYKcmyk(80.3%, 85.9%, 0%, 44.3%)
CIE-LABlab(18.80, 44.68, -63.78)
CIE-LCHlch(18.80, 77.88, 305.01°)
OKLaboklab(31.98% 0.0054 -0.1845)
OKLCHoklch(31.98% 0.185 271.7)
XYZxyz(5.6099, 2.6996, 25.8113)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C148E #868E14
analogous
#14498E #1C148E #59148E
triadic
#1C148E #8E1C14 #148E1C
tetradic
#1C148E #8E1449 #868E14 #148E59
square
#1C148E #8E1449 #868E14 #148E59
split-complementary
#1C148E #8E5914 #498E14
monochromatic
#070523 #110C58 #1C148E #271CC4 #4439E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C148E#FFFFFF#000000##FFFFFF
##1C148E1.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)
#003391
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c148e;
/* rgb */ color: rgb(28, 20, 142);
/* oklch */ color: oklch(32.0% 0.185 271.7);
Tailwind
colors: {
  custom: {
    50: '#6f56b0',
    500: '#1c148e',
    950: '#000000',
  },
}
SCSS
$custom: #1c148e;
$custom-light: #6f56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c148e",
  "rgb": {
    "r": 28,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 243.934,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31981,
    "c": 0.1846,
    "h": 271.7
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#1C148E
secondary
#B9C23C
accent
#F236E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1C148E

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

Preview Lab → · Contrast checker → · Palette generator →

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