#1C145C#1C145C

#1C145C is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.121 H 278.8°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#1C145C
RGBrgb(28, 20, 92)
HSLhsl(247, 64%, 22%)
HSVhsv(247, 78%, 36%)
CMYKcmyk(69.6%, 78.3%, 0%, 63.9%)
CIE-LABlab(12.73, 27.96, -41.52)
CIE-LCHlch(12.73, 50.06, 303.96°)
OKLaboklab(25.98% 0.0185 -0.1199)
OKLCHoklch(25.98% 0.121 278.8)
XYZxyz(2.6602, 1.5197, 10.2763)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C145C #545C14
analogous
#14305C #1C145C #40145C
triadic
#1C145C #5C1C14 #145C1C
tetradic
#1C145C #5C1430 #545C14 #145C40
square
#1C145C #5C1430 #545C14 #145C40
split-complementary
#1C145C #5C4014 #305C14
monochromatic
#080519 #0D092A #1C145C #2B1F8E #3B2AC1

Accessibility & contrast

On white

16.10
#1C145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1C145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C145C
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C145C#FFFFFF#000000##FFFFFF
##1C145C1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1c145c;
/* rgb */ color: rgb(28, 20, 92);
/* oklch */ color: oklch(26.0% 0.121 278.8);
Tailwind
colors: {
  custom: {
    50: '#62538b',
    500: '#1c145c',
    950: '#000000',
  },
}
SCSS
$custom: #1c145c;
$custom-light: #62538b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c145c",
  "rgb": {
    "r": 28,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 246.667,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2598,
    "c": 0.12128,
    "h": 278.8
  },
  "luminance": 0.0152
}

Semantic roles & 50–950 ramp

primary
#1C145C
secondary
#8A9438
accent
#E741D5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C145C

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

Preview Lab → · Contrast checker → · Palette generator →

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