#1D308D#1D308D

#1D308D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.155 H 268.2°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#1D308D
RGBrgb(29, 48, 141)
HSLhsl(230, 66%, 33%)
HSVhsv(230, 79%, 55%)
CMYKcmyk(79.4%, 66%, 0%, 44.7%)
CIE-LABlab(24.63, 27.96, -53.53)
CIE-LCHlch(24.63, 60.39, 297.58°)
OKLaboklab(36.12% -0.0048 -0.1549)
OKLCHoklch(36.12% 0.155 268.2)
XYZxyz(6.3697, 4.2975, 25.6879)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D308D #8D7A1D
analogous
#1D688D #1D308D #421D8D
triadic
#1D308D #8D1D30 #308D1D
tetradic
#1D308D #8D1D68 #8D7A1D #1D8D42
square
#1D308D #8D1D68 #8D7A1D #1D8D42
split-complementary
#1D308D #8D421D #688D1D
monochromatic
#080D27 #131F5A #1D308D #2741C0 #4B63DA

Accessibility & contrast

On white

11.29
#1D308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1D308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D308D
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D308D#FFFFFF#000000##FFFFFF
##1D308D1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d308d;
/* rgb */ color: rgb(29, 48, 141);
/* oklch */ color: oklch(36.1% 0.155 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d68af',
    500: '#1d308d',
    950: '#000000',
  },
}
SCSS
$custom: #1d308d;
$custom-light: #6d68af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d308d",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 229.821,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36124,
    "c": 0.15494,
    "h": 268.2
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#1D308D
secondary
#BCA94A
accent
#CC3FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D308D

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

Preview Lab → · Contrast checker → · Palette generator →

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