#1D308B#1D308B

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

Color values

HEX#1D308B
RGBrgb(29, 48, 139)
HSLhsl(230, 65%, 33%)
HSVhsv(230, 79%, 55%)
CMYKcmyk(79.1%, 65.5%, 0%, 45.5%)
CIE-LABlab(24.44, 27.18, -52.59)
CIE-LCHlch(24.44, 59.20, 297.33°)
OKLaboklab(35.93% -0.0047 -0.1521)
OKLCHoklch(35.93% 0.152 268.2)
XYZxyz(6.2222, 4.2385, 24.9113)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D308B #8B781D
analogous
#1D678B #1D308B #411D8B
triadic
#1D308B #8B1D30 #308B1D
tetradic
#1D308B #8B1D67 #8B781D #1D8B41
square
#1D308B #8B1D67 #8B781D #1D8B41
split-complementary
#1D308B #8B411D #678B1D
monochromatic
#080D26 #121F58 #1D308B #2841BE #4962D9

Accessibility & contrast

On white

11.36
#1D308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1D308B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D308B
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D308B#FFFFFF#000000##FFFFFF
##1D308B1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d308b;
/* rgb */ color: rgb(29, 48, 139);
/* oklch */ color: oklch(35.9% 0.152 268.2);
Tailwind
colors: {
  custom: {
    50: '#6c68ae',
    500: '#1d308b',
    950: '#000000',
  },
}
SCSS
$custom: #1d308b;
$custom-light: #6c68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d308b",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 229.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35929,
    "c": 0.1522,
    "h": 268.2
  },
  "luminance": 0.04239
}

Semantic roles & 50–950 ramp

primary
#1D308B
secondary
#BBA749
accent
#CB3FE8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D308B

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

Preview Lab → · Contrast checker → · Palette generator →

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