#1D41B0#1D41B0

#1D41B0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.181 H 265.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#1D41B0
RGBrgb(29, 65, 176)
HSLhsl(225, 72%, 40%)
HSVhsv(225, 84%, 69%)
CMYKcmyk(83.5%, 63.1%, 0%, 31%)
CIE-LABlab(32.20, 30.08, -62.38)
CIE-LCHlch(32.20, 69.25, 295.74°)
OKLaboklab(42.69% -0.015 -0.1806)
OKLCHoklch(42.69% 0.181 265.3)
XYZxyz(10.2307, 7.1751, 41.9116)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D41B0 #B08C1D
analogous
#1D8AB0 #1D41B0 #421DB0
triadic
#1D41B0 #B01D41 #41B01D
tetradic
#1D41B0 #B01D8A #B08C1D #1DB042
square
#1D41B0 #B01D8A #B08C1D #1DB042
split-complementary
#1D41B0 #B0421D #8AB01D
monochromatic
#0C1A47 #142E7B #1D41B0 #2E59DD #6282E5

Accessibility & contrast

On white

8.62
#1D41B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1D41B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D41B0
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D41B0#FFFFFF#000000##FFFFFF
##1D41B01.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d41b0;
/* rgb */ color: rgb(29, 65, 176);
/* oklch */ color: oklch(42.7% 0.181 265.3);
Tailwind
colors: {
  custom: {
    50: '#7575c9',
    500: '#1d41b0',
    950: '#000000',
  },
}
SCSS
$custom: #1d41b0;
$custom-light: #7575c9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d41b0",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 225.306,
    "s": 71.707,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42693,
    "c": 0.18122,
    "h": 265.3
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#1D41B0
secondary
#CAB05F
accent
#C239EE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1D41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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