#1C145E#1C145E

#1C145E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.124 H 278.4°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#1C145E
RGBrgb(28, 20, 94)
HSLhsl(246, 65%, 22%)
HSVhsv(246, 79%, 37%)
CMYKcmyk(70.2%, 78.7%, 0%, 63.1%)
CIE-LABlab(12.95, 28.67, -42.50)
CIE-LCHlch(12.95, 51.26, 304.01°)
OKLaboklab(26.2% 0.018 -0.1227)
OKLCHoklch(26.2% 0.124 278.4)
XYZxyz(2.7488, 1.5551, 10.7428)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C145E #565E14
analogous
#14315E #1C145E #41145E
triadic
#1C145E #5E1C14 #145E1C
tetradic
#1C145E #5E1431 #565E14 #145E41
square
#1C145E #5E1431 #565E14 #145E41
split-complementary
#1C145E #5E4114 #315E14
monochromatic
#080519 #0D092C #1C145E #2B1F90 #3A29C3

Accessibility & contrast

On white

16.02
#1C145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C145E
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C145E#FFFFFF#000000##FFFFFF
##1C145E1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1c145e;
/* rgb */ color: rgb(28, 20, 94);
/* oklch */ color: oklch(26.2% 0.124 278.4);
Tailwind
colors: {
  custom: {
    50: '#63538d',
    500: '#1c145e',
    950: '#000000',
  },
}
SCSS
$custom: #1c145e;
$custom-light: #63538d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c145e",
  "rgb": {
    "r": 28,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 246.486,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26204,
    "c": 0.12403,
    "h": 278.4
  },
  "luminance": 0.01555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C145E

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

Preview Lab → · Contrast checker → · Palette generator →

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