#1D2F80#1D2F80

#1D2F80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.138 H 268.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#1D2F80
RGBrgb(29, 47, 128)
HSLhsl(229, 63%, 31%)
HSVhsv(229, 77%, 50%)
CMYKcmyk(77.3%, 63.3%, 0%, 49.8%)
CIE-LABlab(23.18, 23.57, -47.78)
CIE-LCHlch(23.18, 53.27, 296.25°)
OKLaboklab(34.68% -0.0038 -0.138)
OKLCHoklch(34.68% 0.138 268.4)
XYZxyz(5.4181, 3.8522, 20.8759)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F80 #806E1D
analogous
#1D6080 #1D2F80 #3C1D80
triadic
#1D2F80 #801D2F #2F801D
tetradic
#1D2F80 #801D60 #806E1D #1D803C
square
#1D2F80 #801D60 #806E1D #1D803C
split-complementary
#1D2F80 #803C1D #60801D
monochromatic
#060A1C #121D4E #1D2F80 #2841B2 #435DD4

Accessibility & contrast

On white

11.86
#1D2F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D2F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F80
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F80#FFFFFF#000000##FFFFFF
##1D2F801.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2f80;
/* rgb */ color: rgb(29, 47, 128);
/* oklch */ color: oklch(34.7% 0.138 268.4);
Tailwind
colors: {
  custom: {
    50: '#6967a6',
    500: '#1d2f80',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f80;
$custom-light: #6967a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f80",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 229.091,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34683,
    "c": 0.1381,
    "h": 268.4
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#1D2F80
secondary
#B39F45
accent
#C842E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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