#1C145B#1C145B

#1C145B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.9% C 0.120 H 279.0°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#1C145B
RGBrgb(28, 20, 91)
HSLhsl(247, 64%, 22%)
HSVhsv(247, 78%, 36%)
CMYKcmyk(69.2%, 78%, 0%, 64.3%)
CIE-LABlab(12.62, 27.60, -41.03)
CIE-LCHlch(12.62, 49.45, 303.93°)
OKLaboklab(25.87% 0.0187 -0.1184)
OKLCHoklch(25.87% 0.12 279)
XYZxyz(2.6168, 1.5023, 10.0476)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C145B #535B14
analogous
#14305B #1C145B #40145B
triadic
#1C145B #5B1C14 #145B1C
tetradic
#1C145B #5B1430 #535B14 #145B40
square
#1C145B #5B1430 #535B14 #145B40
split-complementary
#1C145B #5B4014 #305B14
monochromatic
#080619 #0D0929 #1C145B #2B1F8D #3B2ABF

Accessibility & contrast

On white

16.15
#1C145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C145B
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C145B#FFFFFF#000000##FFFFFF
##1C145B1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#001E5A
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1c145b;
/* rgb */ color: rgb(28, 20, 91);
/* oklch */ color: oklch(25.9% 0.120 279.0);
Tailwind
colors: {
  custom: {
    50: '#62538a',
    500: '#1c145b',
    950: '#000000',
  },
}
SCSS
$custom: #1c145b;
$custom-light: #62538a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c145b",
  "rgb": {
    "r": 28,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 246.761,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25869,
    "c": 0.1199,
    "h": 279
  },
  "luminance": 0.01503
}

Semantic roles & 50–950 ramp

primary
#1C145B
secondary
#899338
accent
#E741D4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C145B

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

Preview Lab → · Contrast checker → · Palette generator →

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