#1D259E#1D259E

#1D259E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.189 H 269.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#1D259E
RGBrgb(29, 37, 158)
HSLhsl(236, 69%, 37%)
HSVhsv(236, 82%, 62%)
CMYKcmyk(81.6%, 76.6%, 0%, 38%)
CIE-LABlab(23.84, 41.16, -65.29)
CIE-LCHlch(23.84, 77.18, 302.23°)
OKLaboklab(36.08% -0.0015 -0.1891)
OKLCHoklch(36.08% 0.189 269.5)
XYZxyz(7.3377, 4.0521, 32.7365)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D259E #9E961D
analogous
#1D669E #1D259E #561D9E
triadic
#1D259E #9E1D25 #259E1D
tetradic
#1D259E #9E1D66 #9E961D #1D9E56
square
#1D259E #9E1D66 #9E961D #1D9E56
split-complementary
#1D259E #9E561D #669E1D
monochromatic
#0A0D37 #14196A #1D259E #2631D2 #565EE0

Accessibility & contrast

On white

11.60
#1D259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1D259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D259E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D259E#FFFFFF#000000##FFFFFF
##1D259E1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d259e;
/* rgb */ color: rgb(29, 37, 158);
/* oklch */ color: oklch(36.1% 0.189 269.5);
Tailwind
colors: {
  custom: {
    50: '#7261bc',
    500: '#1d259e',
    950: '#000000',
  },
}
SCSS
$custom: #1d259e;
$custom-light: #7261bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d259e",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 236.279,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36081,
    "c": 0.18915,
    "h": 269.5
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#1D259E
secondary
#C3BC54
accent
#E13CEC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1D259E

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

Preview Lab → · Contrast checker → · Palette generator →

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