#1D145C#1D145C

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

Color values

HEX#1D145C
RGBrgb(29, 20, 92)
HSLhsl(248, 64%, 22%)
HSVhsv(248, 78%, 36%)
CMYKcmyk(68.5%, 78.3%, 0%, 63.9%)
CIE-LABlab(12.82, 28.10, -41.37)
CIE-LCHlch(12.82, 50.01, 304.19°)
OKLaboklab(26.07% 0.02 -0.1194)
OKLCHoklch(26.07% 0.121 279.5)
XYZxyz(2.6880, 1.5340, 10.2776)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D145C #535C14
analogous
#142F5C #1D145C #41145C
triadic
#1D145C #5C1D14 #145C1D
tetradic
#1D145C #5C142F #535C14 #145C41
square
#1D145C #5C142F #535C14 #145C41
split-complementary
#1D145C #5C4114 #2F5C14
monochromatic
#080519 #0D092A #1D145C #2D1F8E #3D2AC1

Accessibility & contrast

On white

16.07
#1D145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D145C
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D145C#FFFFFF#000000##FFFFFF
##1D145C1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.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: #1d145c;
/* rgb */ color: rgb(29, 20, 92);
/* oklch */ color: oklch(26.1% 0.121 279.5);
Tailwind
colors: {
  custom: {
    50: '#63538b',
    500: '#1d145c',
    950: '#000000',
  },
}
SCSS
$custom: #1d145c;
$custom-light: #63538b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d145c",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 247.5,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26067,
    "c": 0.12106,
    "h": 279.5
  },
  "luminance": 0.01534
}

Semantic roles & 50–950 ramp

primary
#1D145C
secondary
#889438
accent
#E741D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D145C

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

Preview Lab → · Contrast checker → · Palette generator →

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