#1D4095#1D4095

#1D4095 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.146 H 264.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#1D4095
RGBrgb(29, 64, 149)
HSLhsl(223, 67%, 35%)
HSVhsv(223, 81%, 58%)
CMYKcmyk(80.5%, 57%, 0%, 41.6%)
CIE-LABlab(29.66, 20.14, -50.25)
CIE-LCHlch(29.66, 54.14, 291.84°)
OKLaboklab(40.08% -0.0152 -0.145)
OKLCHoklch(40.08% 0.146 264)
XYZxyz(7.7630, 6.0970, 29.1956)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4095 #95721D
analogous
#1D7C95 #1D4095 #361D95
triadic
#1D4095 #951D40 #40951D
tetradic
#1D4095 #951D7C #95721D #1D9536
square
#1D4095 #951D7C #95721D #1D9536
split-complementary
#1D4095 #95361D #7C951D
monochromatic
#09142F #132A62 #1D4095 #2756C8 #5079DD

Accessibility & contrast

On white

9.46
#1D4095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1D4095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4095
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4095#FFFFFF#000000##FFFFFF
##1D40951.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4095;
/* rgb */ color: rgb(29, 64, 149);
/* oklch */ color: oklch(40.1% 0.146 264.0);
Tailwind
colors: {
  custom: {
    50: '#6d74b5',
    500: '#1d4095',
    950: '#000000',
  },
}
SCSS
$custom: #1d4095;
$custom-light: #6d74b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4095",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 222.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40083,
    "c": 0.14584,
    "h": 264
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#1D4095
secondary
#C09F4E
accent
#B83DEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4095

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

Preview Lab → · Contrast checker → · Palette generator →

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