#1D147C#1D147C

#1D147C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.163 H 274.1°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#1D147C
RGBrgb(29, 20, 124)
HSLhsl(245, 72%, 28%)
HSVhsv(245, 84%, 49%)
CMYKcmyk(76.6%, 83.9%, 0%, 51.4%)
CIE-LABlab(16.58, 39.00, -56.09)
CIE-LCHlch(16.58, 68.32, 304.81°)
OKLaboklab(29.81% 0.0116 -0.1622)
OKLCHoklch(29.81% 0.163 274.1)
XYZxyz(4.3937, 2.2163, 19.2611)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D147C #737C14
analogous
#143F7C #1D147C #51147C
triadic
#1D147C #7C1D14 #147C1D
tetradic
#1D147C #7C143F #737C14 #147C51
square
#1D147C #7C143F #737C14 #147C51
split-complementary
#1D147C #7C5114 #3F7C14
monochromatic
#06041A #110B47 #1D147C #291DB1 #3C2DDD

Accessibility & contrast

On white

14.55
#1D147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D147C
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D147C#FFFFFF#000000##FFFFFF
##1D147C1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d147c;
/* rgb */ color: rgb(29, 20, 124);
/* oklch */ color: oklch(29.8% 0.163 274.1);
Tailwind
colors: {
  custom: {
    50: '#6b55a3',
    500: '#1d147c',
    950: '#000000',
  },
}
SCSS
$custom: #1d147c;
$custom-light: #6b55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d147c",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 245.192,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29813,
    "c": 0.16264,
    "h": 274.1
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#1D147C
secondary
#A7B23A
accent
#EF39DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1D147C

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

Preview Lab → · Contrast checker → · Palette generator →

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