#1C146C#1C146C

#1C146C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.143 H 275.8°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#1C146C
RGBrgb(28, 20, 108)
HSLhsl(245, 69%, 25%)
HSVhsv(245, 81%, 42%)
CMYKcmyk(74.1%, 81.5%, 0%, 57.6%)
CIE-LABlab(14.57, 33.56, -49.09)
CIE-LCHlch(14.57, 59.47, 304.35°)
OKLaboklab(27.82% 0.0145 -0.1419)
OKLCHoklch(27.82% 0.143 275.8)
XYZxyz(3.4349, 1.8296, 14.3566)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C146C #646C14
analogous
#14386C #1C146C #48146C
triadic
#1C146C #6C1C14 #146C1C
tetradic
#1C146C #6C1438 #646C14 #146C48
square
#1C146C #6C1438 #646C14 #146C48
split-complementary
#1C146C #6C4814 #386C14
monochromatic
#07051A #0F0A38 #1C146C #291EA0 #3727D3

Accessibility & contrast

On white

15.37
#1C146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1C146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C146C
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C146C#FFFFFF#000000##FFFFFF
##1C146C1.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1c146c;
/* rgb */ color: rgb(28, 20, 108);
/* oklch */ color: oklch(27.8% 0.143 275.8);
Tailwind
colors: {
  custom: {
    50: '#665497',
    500: '#1c146c',
    950: '#000000',
  },
}
SCSS
$custom: #1c146c;
$custom-light: #665497;
$custom-dark: #000000;
JSON
{
  "hex": "#1c146c",
  "rgb": {
    "r": 28,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 245.455,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.2782,
    "c": 0.14267,
    "h": 275.8
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#1C146C
secondary
#99A339
accent
#EC3CDC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C146C

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

Preview Lab → · Contrast checker → · Palette generator →

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