#1D146E#1D146E

#1D146E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.145 H 276.1°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#1D146E
RGBrgb(29, 20, 110)
HSLhsl(246, 69%, 25%)
HSVhsv(246, 82%, 43%)
CMYKcmyk(73.6%, 81.8%, 0%, 56.9%)
CIE-LABlab(14.88, 34.34, -49.88)
CIE-LCHlch(14.88, 60.55, 304.55°)
OKLaboklab(28.13% 0.0154 -0.1442)
OKLCHoklch(28.13% 0.145 276.1)
XYZxyz(3.5704, 1.8870, 14.9249)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D146E #656E14
analogous
#14386E #1D146E #4A146E
triadic
#1D146E #6E1D14 #146E1D
tetradic
#1D146E #6E1438 #656E14 #146E4A
square
#1D146E #6E1438 #656E14 #146E4A
split-complementary
#1D146E #6E4A14 #386E14
monochromatic
#07051A #0F0B3A #1D146E #2B1DA2 #3827D6

Accessibility & contrast

On white

15.25
#1D146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1D146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D146E
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D146E#FFFFFF#000000##FFFFFF
##1D146E1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d146e;
/* rgb */ color: rgb(29, 20, 110);
/* oklch */ color: oklch(28.1% 0.145 276.1);
Tailwind
colors: {
  custom: {
    50: '#675499',
    500: '#1d146e',
    950: '#000000',
  },
}
SCSS
$custom: #1d146e;
$custom-light: #675499;
$custom-dark: #000000;
JSON
{
  "hex": "#1d146e",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 246,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28132,
    "c": 0.145,
    "h": 276.1
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#1D146E
secondary
#9AA539
accent
#EC3CDA
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D146E

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

Preview Lab → · Contrast checker → · Palette generator →

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