#1D30A0#1D30A0

#1D30A0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.180 H 268.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#1D30A0
RGBrgb(29, 48, 160)
HSLhsl(231, 69%, 37%)
HSVhsv(231, 82%, 63%)
CMYKcmyk(81.9%, 70%, 0%, 37.3%)
CIE-LABlab(26.48, 35.15, -62.15)
CIE-LCHlch(26.48, 71.40, 299.49°)
OKLaboklab(38.04% -0.0061 -0.18)
OKLCHoklch(38.04% 0.18 268.1)
XYZxyz(7.9066, 4.9123, 33.7823)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D30A0 #A08D1D
analogous
#1D71A0 #1D30A0 #4C1DA0
triadic
#1D30A0 #A01D30 #30A01D
tetradic
#1D30A0 #A01D71 #A08D1D #1DA04C
square
#1D30A0 #A01D71 #A08D1D #1DA04C
split-complementary
#1D30A0 #A04C1D #71A01D
monochromatic
#0A1138 #14206C #1D30A0 #2640D4 #576BE1

Accessibility & contrast

On white

10.59
#1D30A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1D30A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D30A0
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D30A0#FFFFFF#000000##FFFFFF
##1D30A01.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d30a0;
/* rgb */ color: rgb(29, 48, 160);
/* oklch */ color: oklch(38.0% 0.180 268.1);
Tailwind
colors: {
  custom: {
    50: '#7268bd',
    500: '#1d30a0',
    950: '#000000',
  },
}
SCSS
$custom: #1d30a0;
$custom-light: #7268bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d30a0",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 160
  },
  "hsl": {
    "h": 231.298,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38038,
    "c": 0.18015,
    "h": 268.1
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#1D30A0
secondary
#C4B455
accent
#D33CEC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D30A0

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

Preview Lab → · Contrast checker → · Palette generator →

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