#1D145D#1D145D

#1D145D is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.122 H 279.3°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#1D145D
RGBrgb(29, 20, 93)
HSLhsl(247, 65%, 22%)
HSVhsv(247, 78%, 36%)
CMYKcmyk(68.8%, 78.5%, 0%, 63.5%)
CIE-LABlab(12.93, 28.45, -41.86)
CIE-LCHlch(12.93, 50.61, 304.21°)
OKLaboklab(26.18% 0.0198 -0.1208)
OKLCHoklch(26.18% 0.122 279.3)
XYZxyz(2.7320, 1.5516, 10.5093)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D145D #545D14
analogous
#14305D #1D145D #42145D
triadic
#1D145D #5D1D14 #145D1D
tetradic
#1D145D #5D1430 #545D14 #145D42
square
#1D145D #5D1430 #545D14 #145D42
split-complementary
#1D145D #5D4214 #305D14
monochromatic
#080519 #0D092B #1D145D #2D1F8F #3C2AC2

Accessibility & contrast

On white

16.03
#1D145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D145D
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D145D#FFFFFF#000000##FFFFFF
##1D145D1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.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: #1d145d;
/* rgb */ color: rgb(29, 20, 93);
/* oklch */ color: oklch(26.2% 0.122 279.3);
Tailwind
colors: {
  custom: {
    50: '#63538c',
    500: '#1d145d',
    950: '#000000',
  },
}
SCSS
$custom: #1d145d;
$custom-light: #63538c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d145d",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 247.397,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26178,
    "c": 0.12243,
    "h": 279.3
  },
  "luminance": 0.01552
}

Semantic roles & 50–950 ramp

primary
#1D145D
secondary
#899538
accent
#E840D3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D145D

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

Preview Lab → · Contrast checker → · Palette generator →

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