#1D30A8#1D30A8

#1D30A8 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.190 H 267.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#1D30A8
RGBrgb(29, 48, 168)
HSLhsl(232, 71%, 39%)
HSVhsv(232, 83%, 66%)
CMYKcmyk(82.7%, 71.4%, 0%, 34.1%)
CIE-LABlab(27.30, 38.08, -65.64)
CIE-LCHlch(27.30, 75.89, 300.12°)
OKLaboklab(38.88% -0.0068 -0.1902)
OKLCHoklch(38.88% 0.19 267.9)
XYZxyz(8.6291, 5.2012, 37.5873)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D30A8 #A8951D
analogous
#1D75A8 #1D30A8 #501DA8
triadic
#1D30A8 #A81D30 #30A81D
tetradic
#1D30A8 #A81D75 #A8951D #1DA850
square
#1D30A8 #A81D75 #A8951D #1DA850
split-complementary
#1D30A8 #A8501D #75A81D
monochromatic
#0B1240 #142174 #1D30A8 #2841DA #5C6FE3

Accessibility & contrast

On white

10.29
#1D30A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1D30A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D30A8
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D30A8#FFFFFF#000000##FFFFFF
##1D30A81.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d30a8;
/* rgb */ color: rgb(29, 48, 168);
/* oklch */ color: oklch(38.9% 0.190 267.9);
Tailwind
colors: {
  custom: {
    50: '#7469c3',
    500: '#1d30a8',
    950: '#000000',
  },
}
SCSS
$custom: #1d30a8;
$custom-light: #7469c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d30a8",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 231.799,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38875,
    "c": 0.19035,
    "h": 267.9
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#1D30A8
secondary
#C7B85A
accent
#D53AED
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #1D30A8

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

Preview Lab → · Contrast checker → · Palette generator →

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