#1D308A#1D308A

#1D308A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.151 H 268.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#1D308A
RGBrgb(29, 48, 138)
HSLhsl(230, 65%, 33%)
HSVhsv(230, 79%, 54%)
CMYKcmyk(79%, 65.2%, 0%, 45.9%)
CIE-LABlab(24.35, 26.80, -52.12)
CIE-LCHlch(24.35, 58.60, 297.21°)
OKLaboklab(35.83% -0.0047 -0.1508)
OKLCHoklch(35.83% 0.151 268.2)
XYZxyz(6.1495, 4.2094, 24.5282)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D308A #8A771D
analogous
#1D678A #1D308A #401D8A
triadic
#1D308A #8A1D30 #308A1D
tetradic
#1D308A #8A1D67 #8A771D #1D8A40
square
#1D308A #8A1D67 #8A771D #1D8A40
split-complementary
#1D308A #8A401D #678A1D
monochromatic
#080D25 #121E57 #1D308A #2842BD #4962D9

Accessibility & contrast

On white

11.40
#1D308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1D308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D308A
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D308A#FFFFFF#000000##FFFFFF
##1D308A1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d308a;
/* rgb */ color: rgb(29, 48, 138);
/* oklch */ color: oklch(35.8% 0.151 268.2);
Tailwind
colors: {
  custom: {
    50: '#6c68ad',
    500: '#1d308a',
    950: '#000000',
  },
}
SCSS
$custom: #1d308a;
$custom-light: #6c68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d308a",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 229.541,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35833,
    "c": 0.15083,
    "h": 268.2
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#1D308A
secondary
#BBA748
accent
#CB40E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D308A

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

Preview Lab → · Contrast checker → · Palette generator →

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