#1C145D#1C145D

#1C145D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.123 H 278.6°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#1C145D
RGBrgb(28, 20, 93)
HSLhsl(247, 65%, 22%)
HSVhsv(247, 78%, 36%)
CMYKcmyk(69.9%, 78.5%, 0%, 63.5%)
CIE-LABlab(12.84, 28.32, -42.01)
CIE-LCHlch(12.84, 50.66, 303.98°)
OKLaboklab(26.09% 0.0183 -0.1213)
OKLCHoklch(26.09% 0.123 278.6)
XYZxyz(2.7042, 1.5373, 10.5080)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C145D #555D14
analogous
#14315D #1C145D #41145D
triadic
#1C145D #5D1C14 #145D1C
tetradic
#1C145D #5D1431 #555D14 #145D41
square
#1C145D #5D1431 #555D14 #145D41
split-complementary
#1C145D #5D4114 #315D14
monochromatic
#080519 #0D092B #1C145D #2B1F8F #3A2AC2

Accessibility & contrast

On white

16.06
#1C145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C145D
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C145D#FFFFFF#000000##FFFFFF
##1C145D1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1c145d;
/* rgb */ color: rgb(28, 20, 93);
/* oklch */ color: oklch(26.1% 0.123 278.6);
Tailwind
colors: {
  custom: {
    50: '#63538c',
    500: '#1c145d',
    950: '#000000',
  },
}
SCSS
$custom: #1c145d;
$custom-light: #63538c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c145d",
  "rgb": {
    "r": 28,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 246.575,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26092,
    "c": 0.12266,
    "h": 278.6
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#1C145D
secondary
#8B9538
accent
#E840D5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C145D

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

Preview Lab → · Contrast checker → · Palette generator →

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