#1D308F#1D308F

#1D308F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.158 H 268.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#1D308F
RGBrgb(29, 48, 143)
HSLhsl(230, 66%, 34%)
HSVhsv(230, 80%, 56%)
CMYKcmyk(79.7%, 66.4%, 0%, 43.9%)
CIE-LABlab(24.82, 28.73, -54.46)
CIE-LCHlch(24.82, 61.57, 297.81°)
OKLaboklab(36.32% -0.0049 -0.1576)
OKLCHoklch(36.32% 0.158 268.2)
XYZxyz(6.5199, 4.3575, 26.4787)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D308F #8F7C1D
analogous
#1D698F #1D308F #431D8F
triadic
#1D308F #8F1D30 #308F1D
tetradic
#1D308F #8F1D69 #8F7C1D #1D8F43
square
#1D308F #8F1D69 #8F7C1D #1D8F43
split-complementary
#1D308F #8F431D #698F1D
monochromatic
#080E29 #131F5C #1D308F #2741C2 #4C64DB

Accessibility & contrast

On white

11.22
#1D308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1D308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D308F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D308F#FFFFFF#000000##FFFFFF
##1D308F1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d308f;
/* rgb */ color: rgb(29, 48, 143);
/* oklch */ color: oklch(36.3% 0.158 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d68b1',
    500: '#1d308f',
    950: '#000000',
  },
}
SCSS
$custom: #1d308f;
$custom-light: #6d68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d308f",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 230,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3632,
    "c": 0.15768,
    "h": 268.2
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#1D308F
secondary
#BDAA4B
accent
#CD3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1D308F

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

Preview Lab → · Contrast checker → · Palette generator →

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