#1D3295#1D3295

#1D3295 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.163 H 267.8°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#1D3295
RGBrgb(29, 50, 149)
HSLhsl(230, 67%, 35%)
HSVhsv(230, 81%, 58%)
CMYKcmyk(80.5%, 66.4%, 0%, 41.6%)
CIE-LABlab(25.90, 29.69, -56.39)
CIE-LCHlch(25.90, 63.73, 297.77°)
OKLaboklab(37.28% -0.0063 -0.1632)
OKLCHoklch(37.28% 0.163 267.8)
XYZxyz(7.0702, 4.7115, 28.9647)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3295 #95801D
analogous
#1D6E95 #1D3295 #441D95
triadic
#1D3295 #951D32 #32951D
tetradic
#1D3295 #951D6E #95801D #1D9544
square
#1D3295 #951D6E #95801D #1D9544
split-complementary
#1D3295 #95441D #6E951D
monochromatic
#09102F #132162 #1D3295 #2743C8 #5068DD

Accessibility & contrast

On white

10.81
#1D3295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1D3295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3295
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3295#FFFFFF#000000##FFFFFF
##1D32951.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d3295;
/* rgb */ color: rgb(29, 50, 149);
/* oklch */ color: oklch(37.3% 0.163 267.8);
Tailwind
colors: {
  custom: {
    50: '#6f69b5',
    500: '#1d3295',
    950: '#000000',
  },
}
SCSS
$custom: #1d3295;
$custom-light: #6f69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3295",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 229.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37284,
    "c": 0.16336,
    "h": 267.8
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#1D3295
secondary
#C0AC4E
accent
#CC3DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1D3295

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

Preview Lab → · Contrast checker → · Palette generator →

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