#1C145F#1C145F

#1C145F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.125 H 278.2°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#1C145F
RGBrgb(28, 20, 95)
HSLhsl(246, 65%, 23%)
HSVhsv(246, 79%, 37%)
CMYKcmyk(70.5%, 78.9%, 0%, 62.7%)
CIE-LABlab(13.07, 29.03, -42.98)
CIE-LCHlch(13.07, 51.86, 304.03°)
OKLaboklab(26.32% 0.0178 -0.1241)
OKLCHoklch(26.32% 0.125 278.2)
XYZxyz(2.7939, 1.5732, 10.9807)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C145F #575F14
analogous
#14325F #1C145F #41145F
triadic
#1C145F #5F1C14 #145F1C
tetradic
#1C145F #5F1432 #575F14 #145F41
square
#1C145F #5F1432 #575F14 #145F41
split-complementary
#1C145F #5F4114 #325F14
monochromatic
#070519 #0D092C #1C145F #2B1F92 #3A29C4

Accessibility & contrast

On white

15.97
#1C145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1C145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C145F
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C145F#FFFFFF#000000##FFFFFF
##1C145F1.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1c145f;
/* rgb */ color: rgb(28, 20, 95);
/* oklch */ color: oklch(26.3% 0.125 278.2);
Tailwind
colors: {
  custom: {
    50: '#63538d',
    500: '#1c145f',
    950: '#000000',
  },
}
SCSS
$custom: #1c145f;
$custom-light: #63538d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c145f",
  "rgb": {
    "r": 28,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 246.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26317,
    "c": 0.12539,
    "h": 278.2
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#1C145F
secondary
#8D9738
accent
#E840D6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C145F

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

Preview Lab → · Contrast checker → · Palette generator →

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