#1D147B#1D147B

#1D147B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.161 H 274.2°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#1D147B
RGBrgb(29, 20, 123)
HSLhsl(245, 72%, 28%)
HSVhsv(245, 84%, 48%)
CMYKcmyk(76.4%, 83.7%, 0%, 51.8%)
CIE-LABlab(16.46, 38.67, -55.66)
CIE-LCHlch(16.46, 67.78, 304.79°)
OKLaboklab(29.69% 0.0118 -0.161)
OKLCHoklch(29.69% 0.161 274.2)
XYZxyz(4.3308, 2.1911, 18.9297)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D147B #727B14
analogous
#143E7B #1D147B #50147B
triadic
#1D147B #7B1D14 #147B1D
tetradic
#1D147B #7B143E #727B14 #147B50
square
#1D147B #7B143E #727B14 #147B50
split-complementary
#1D147B #7B5014 #3E7B14
monochromatic
#06041A #110B46 #1D147B #291DB0 #3C2DDD

Accessibility & contrast

On white

14.60
#1D147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1D147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D147B
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D147B#FFFFFF#000000##FFFFFF
##1D147B1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d147b;
/* rgb */ color: rgb(29, 20, 123);
/* oklch */ color: oklch(29.7% 0.161 274.2);
Tailwind
colors: {
  custom: {
    50: '#6b55a2',
    500: '#1d147b',
    950: '#000000',
  },
}
SCSS
$custom: #1d147b;
$custom-light: #6b55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d147b",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 245.243,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29692,
    "c": 0.1614,
    "h": 274.2
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#1D147B
secondary
#A6B13A
accent
#EF39DF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1D147B

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

Preview Lab → · Contrast checker → · Palette generator →

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