#1C148C#1C148C

#1C148C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.182 H 271.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#1C148C
RGBrgb(28, 20, 140)
HSLhsl(244, 75%, 31%)
HSVhsv(244, 86%, 55%)
CMYKcmyk(80%, 85.7%, 0%, 45.1%)
CIE-LABlab(18.54, 44.06, -62.96)
CIE-LCHlch(18.54, 76.84, 304.98°)
OKLaboklab(31.73% 0.0059 -0.1821)
OKLCHoklch(31.73% 0.182 271.9)
XYZxyz(5.4611, 2.6400, 25.0276)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C148C #848C14
analogous
#14488C #1C148C #58148C
triadic
#1C148C #8C1C14 #148C1C
tetradic
#1C148C #8C1448 #848C14 #148C58
square
#1C148C #8C1448 #848C14 #148C58
split-complementary
#1C148C #8C5814 #488C14
monochromatic
#070521 #110C56 #1C148C #271CC2 #4338E3

Accessibility & contrast

On white

13.74
#1C148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C148C
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C148C#FFFFFF#000000##FFFFFF
##1C148C1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00278A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c148c;
/* rgb */ color: rgb(28, 20, 140);
/* oklch */ color: oklch(31.7% 0.182 271.9);
Tailwind
colors: {
  custom: {
    50: '#6f56af',
    500: '#1c148c',
    950: '#000000',
  },
}
SCSS
$custom: #1c148c;
$custom-light: #6f56af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c148c",
  "rgb": {
    "r": 28,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 244,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3173,
    "c": 0.18225,
    "h": 271.9
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#1C148C
secondary
#B7C03C
accent
#F236E5
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #1C148C

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

Preview Lab → · Contrast checker → · Palette generator →

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