#1D2F91#1D2F91

#1D2F91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.162 H 268.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#1D2F91
RGBrgb(29, 47, 145)
HSLhsl(231, 67%, 34%)
HSVhsv(231, 80%, 57%)
CMYKcmyk(80%, 67.6%, 0%, 43.1%)
CIE-LABlab(24.76, 30.17, -55.80)
CIE-LCHlch(24.76, 63.43, 298.40°)
OKLaboklab(36.33% -0.0044 -0.1615)
OKLCHoklch(36.33% 0.162 268.4)
XYZxyz(6.6323, 4.3378, 27.2703)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F91 #917F1D
analogous
#1D6991 #1D2F91 #451D91
triadic
#1D2F91 #911D2F #2F911D
tetradic
#1D2F91 #911D69 #917F1D #1D9145
square
#1D2F91 #911D69 #917F1D #1D9145
split-complementary
#1D2F91 #91451D #69911D
monochromatic
#090E2B #131E5E #1D2F91 #2740C4 #4D63DB

Accessibility & contrast

On white

11.24
#1D2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2F91
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F91#FFFFFF#000000##FFFFFF
##1D2F911.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d2f91;
/* rgb */ color: rgb(29, 47, 145);
/* oklch */ color: oklch(36.3% 0.162 268.4);
Tailwind
colors: {
  custom: {
    50: '#6e67b2',
    500: '#1d2f91',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f91;
$custom-light: #6e67b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f91",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 230.69,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36334,
    "c": 0.16158,
    "h": 268.4
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#1D2F91
secondary
#BEAC4C
accent
#CF3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1D2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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