#1D258E#1D258E

#1D258E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.169 H 270.3°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#1D258E
RGBrgb(29, 37, 142)
HSLhsl(236, 66%, 34%)
HSVhsv(236, 80%, 56%)
CMYKcmyk(79.6%, 73.9%, 0%, 44.3%)
CIE-LABlab(22.08, 35.50, -58.35)
CIE-LCHlch(22.08, 68.30, 301.32°)
OKLaboklab(34.3% 0.0009 -0.169)
OKLCHoklch(34.3% 0.169 270.3)
XYZxyz(6.0491, 3.5367, 25.9498)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D258E #8E861D
analogous
#1D5D8E #1D258E #4D1D8E
triadic
#1D258E #8E1D25 #258E1D
tetradic
#1D258E #8E1D5D #8E861D #1D8E4D
square
#1D258E #8E1D5D #8E861D #1D8E4D
split-complementary
#1D258E #8E4D1D #5D8E1D
monochromatic
#080B28 #13185B #1D258E #2732C1 #4B55DA

Accessibility & contrast

On white

12.30
#1D258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D258E
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D258E#FFFFFF#000000##FFFFFF
##1D258E1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d258e;
/* rgb */ color: rgb(29, 37, 142);
/* oklch */ color: oklch(34.3% 0.169 270.3);
Tailwind
colors: {
  custom: {
    50: '#6e60b0',
    500: '#1d258e',
    950: '#000000',
  },
}
SCSS
$custom: #1d258e;
$custom-light: #6e60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d258e",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 235.752,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.343,
    "c": 0.16898,
    "h": 270.3
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#1D258E
secondary
#BDB44A
accent
#DD3FE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1D258E

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

Preview Lab → · Contrast checker → · Palette generator →

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