#1D2F83#1D2F83

#1D2F83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.142 H 268.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#1D2F83
RGBrgb(29, 47, 131)
HSLhsl(229, 64%, 31%)
HSVhsv(229, 78%, 51%)
CMYKcmyk(77.9%, 64.1%, 0%, 48.6%)
CIE-LABlab(23.45, 24.75, -49.23)
CIE-LCHlch(23.45, 55.10, 296.69°)
OKLaboklab(34.97% -0.0038 -0.1423)
OKLCHoklch(34.97% 0.142 268.5)
XYZxyz(5.6185, 3.9323, 21.9312)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F83 #83711D
analogous
#1D6283 #1D2F83 #3E1D83
triadic
#1D2F83 #831D2F #2F831D
tetradic
#1D2F83 #831D62 #83711D #1D833E
square
#1D2F83 #831D62 #83711D #1D833E
split-complementary
#1D2F83 #833E1D #62831D
monochromatic
#070B1F #121D51 #1D2F83 #2841B5 #455ED6

Accessibility & contrast

On white

11.75
#1D2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F83
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F83#FFFFFF#000000##FFFFFF
##1D2F831.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2f83;
/* rgb */ color: rgb(29, 47, 131);
/* oklch */ color: oklch(35.0% 0.142 268.5);
Tailwind
colors: {
  custom: {
    50: '#6a67a8',
    500: '#1d2f83',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f83;
$custom-light: #6a67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f83",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 229.412,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34967,
    "c": 0.14234,
    "h": 268.5
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#1D2F83
secondary
#B6A246
accent
#CA41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1D2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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