#1D258F#1D258F

#1D258F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.170 H 270.3°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1D258F
RGBrgb(29, 37, 143)
HSLhsl(236, 66%, 34%)
HSVhsv(236, 80%, 56%)
CMYKcmyk(79.7%, 74.1%, 0%, 43.9%)
CIE-LABlab(22.18, 35.87, -58.79)
CIE-LCHlch(22.18, 68.87, 301.38°)
OKLaboklab(34.41% 0.0008 -0.1703)
OKLCHoklch(34.41% 0.17 270.3)
XYZxyz(6.1245, 3.5668, 26.3470)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D258F #8F871D
analogous
#1D5E8F #1D258F #4E1D8F
triadic
#1D258F #8F1D25 #258F1D
tetradic
#1D258F #8F1D5E #8F871D #1D8F4E
square
#1D258F #8F1D5E #8F871D #1D8F4E
split-complementary
#1D258F #8F4E1D #5E8F1D
monochromatic
#080B29 #13185C #1D258F #2732C2 #4C56DB

Accessibility & contrast

On white

12.25
#1D258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D258F
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D258F#FFFFFF#000000##FFFFFF
##1D258F1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d258f;
/* rgb */ color: rgb(29, 37, 143);
/* oklch */ color: oklch(34.4% 0.170 270.3);
Tailwind
colors: {
  custom: {
    50: '#6e60b1',
    500: '#1d258f',
    950: '#000000',
  },
}
SCSS
$custom: #1d258f;
$custom-light: #6e60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d258f",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 235.789,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34409,
    "c": 0.17027,
    "h": 270.3
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#1D258F
secondary
#BDB54B
accent
#DD3FE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D258F

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

Preview Lab → · Contrast checker → · Palette generator →

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