#1D3280#1D3280

#1D3280 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.134 H 267.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#1D3280
RGBrgb(29, 50, 128)
HSLhsl(227, 63%, 31%)
HSVhsv(227, 77%, 50%)
CMYKcmyk(77.3%, 60.9%, 0%, 49.8%)
CIE-LABlab(24.00, 21.47, -46.44)
CIE-LCHlch(24.00, 51.16, 294.82°)
OKLaboklab(35.3% -0.006 -0.1341)
OKLCHoklch(35.3% 0.134 267.4)
XYZxyz(5.5422, 4.1003, 20.9172)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3280 #806B1D
analogous
#1D6380 #1D3280 #391D80
triadic
#1D3280 #801D32 #32801D
tetradic
#1D3280 #801D63 #806B1D #1D8039
square
#1D3280 #801D63 #806B1D #1D8039
split-complementary
#1D3280 #80391D #63801D
monochromatic
#060B1C #121F4E #1D3280 #2845B2 #4362D4

Accessibility & contrast

On white

11.54
#1D3280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1D3280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3280
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3280#FFFFFF#000000##FFFFFF
##1D32801.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d3280;
/* rgb */ color: rgb(29, 50, 128);
/* oklch */ color: oklch(35.3% 0.134 267.4);
Tailwind
colors: {
  custom: {
    50: '#6969a6',
    500: '#1d3280',
    950: '#000000',
  },
}
SCSS
$custom: #1d3280;
$custom-light: #6969a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3280",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 128
  },
  "hsl": {
    "h": 227.273,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35296,
    "c": 0.13419,
    "h": 267.4
  },
  "luminance": 0.04101
}

Semantic roles & 50–950 ramp

primary
#1D3280
secondary
#B39C45
accent
#C342E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D3280

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

Preview Lab → · Contrast checker → · Palette generator →

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