#1C145A#1C145A

#1C145A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.8% C 0.119 H 279.2°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#1C145A
RGBrgb(28, 20, 90)
HSLhsl(247, 64%, 22%)
HSVhsv(247, 78%, 35%)
CMYKcmyk(68.9%, 77.8%, 0%, 64.7%)
CIE-LABlab(12.51, 27.24, -40.53)
CIE-LCHlch(12.51, 48.84, 303.91°)
OKLaboklab(25.76% 0.019 -0.117)
OKLCHoklch(25.76% 0.119 279.2)
XYZxyz(2.5739, 1.4852, 9.8219)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C145A #525A14
analogous
#142F5A #1C145A #3F145A
triadic
#1C145A #5A1C14 #145A1C
tetradic
#1C145A #5A142F #525A14 #145A3F
square
#1C145A #5A142F #525A14 #145A3F
split-complementary
#1C145A #5A3F14 #2F5A14
monochromatic
#080619 #0C0928 #1C145A #2C1F8C #3B2ABE

Accessibility & contrast

On white

16.19
#1C145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C145A
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C145A#FFFFFF#000000##FFFFFF
##1C145A1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1c145a;
/* rgb */ color: rgb(28, 20, 90);
/* oklch */ color: oklch(25.8% 0.119 279.2);
Tailwind
colors: {
  custom: {
    50: '#625389',
    500: '#1c145a',
    950: '#000000',
  },
}
SCSS
$custom: #1c145a;
$custom-light: #625389;
$custom-dark: #000000;
JSON
{
  "hex": "#1c145a",
  "rgb": {
    "r": 28,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 246.857,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25759,
    "c": 0.11851,
    "h": 279.2
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C145A

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

Preview Lab → · Contrast checker → · Palette generator →

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