#1D48A7#1D48A7

#1D48A7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.161 H 263.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1D48A7
RGBrgb(29, 72, 167)
HSLhsl(221, 70%, 38%)
HSVhsv(221, 83%, 65%)
CMYKcmyk(82.6%, 56.9%, 0%, 34.5%)
CIE-LABlab(33.32, 21.86, -55.18)
CIE-LCHlch(33.32, 59.35, 291.61°)
OKLaboklab(43.29% -0.0194 -0.1594)
OKLCHoklch(43.29% 0.161 263)
XYZxyz(9.7966, 7.6848, 37.5187)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D48A7 #A77C1D
analogous
#1D8DA7 #1D48A7 #371DA7
triadic
#1D48A7 #A71D48 #48A71D
tetradic
#1D48A7 #A71D8D #A77C1D #1DA737
square
#1D48A7 #A71D8D #A77C1D #1DA737
split-complementary
#1D48A7 #A7371D #8DA71D
monochromatic
#0B1B3F #143273 #1D48A7 #285FDA #5C86E3

Accessibility & contrast

On white

8.28
#1D48A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1D48A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D48A7
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D48A7#FFFFFF#000000##FFFFFF
##1D48A71.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d48a7;
/* rgb */ color: rgb(29, 72, 167);
/* oklch */ color: oklch(43.3% 0.161 263.0);
Tailwind
colors: {
  custom: {
    50: '#727ac2',
    500: '#1d48a7',
    950: '#000000',
  },
}
SCSS
$custom: #1d48a7;
$custom-light: #727ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d48a7",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 221.304,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43293,
    "c": 0.16057,
    "h": 263
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#1D48A7
secondary
#C7A559
accent
#B63BED
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D48A7

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

Preview Lab → · Contrast checker → · Palette generator →

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