#1D148C#1D148C

#1D148C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.182 H 272.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#1D148C
RGBrgb(29, 20, 140)
HSLhsl(245, 75%, 31%)
HSVhsv(245, 86%, 55%)
CMYKcmyk(79.3%, 85.7%, 0%, 45.1%)
CIE-LABlab(18.60, 44.11, -62.86)
CIE-LCHlch(18.60, 76.79, 305.06°)
OKLaboklab(31.79% 0.0072 -0.1818)
OKLCHoklch(31.79% 0.182 272.3)
XYZxyz(5.4889, 2.6544, 25.0289)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D148C #838C14
analogous
#14478C #1D148C #59148C
triadic
#1D148C #8C1D14 #148C1D
tetradic
#1D148C #8C1447 #838C14 #148C59
square
#1D148C #8C1447 #838C14 #148C59
split-complementary
#1D148C #8C5914 #478C14
monochromatic
#070521 #120C56 #1D148C #281CC2 #4538E3

Accessibility & contrast

On white

13.72
#1D148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D148C
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D148C#FFFFFF#000000##FFFFFF
##1D148C1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00278A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d148c;
/* rgb */ color: rgb(29, 20, 140);
/* oklch */ color: oklch(31.8% 0.182 272.3);
Tailwind
colors: {
  custom: {
    50: '#6f56af',
    500: '#1d148c',
    950: '#000000',
  },
}
SCSS
$custom: #1d148c;
$custom-light: #6f56af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d148c",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 244.5,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3179,
    "c": 0.18196,
    "h": 272.3
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#1D148C
secondary
#B6C03C
accent
#F236E4
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #1D148C

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

Preview Lab → · Contrast checker → · Palette generator →

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