#1D25A6#1D25A6

#1D25A6 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.199 H 269.2°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#1D25A6
RGBrgb(29, 37, 166)
HSLhsl(236, 70%, 38%)
HSVhsv(236, 83%, 65%)
CMYKcmyk(82.5%, 77.7%, 0%, 34.9%)
CIE-LABlab(24.75, 43.90, -68.64)
CIE-LCHlch(24.75, 81.48, 302.60°)
OKLaboklab(36.99% -0.0029 -0.1989)
OKLCHoklch(36.99% 0.199 269.2)
XYZxyz(8.0488, 4.3366, 36.4818)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D25A6 #A69E1D
analogous
#1D69A6 #1D25A6 #591DA6
triadic
#1D25A6 #A61D25 #25A61D
tetradic
#1D25A6 #A61D69 #A69E1D #1DA659
square
#1D25A6 #A61D69 #A69E1D #1DA659
split-complementary
#1D25A6 #A6591D #69A61D
monochromatic
#0B0E3E #141972 #1D25A6 #2731D9 #5B63E2

Accessibility & contrast

On white

11.24
#1D25A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1D25A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D25A6
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D25A6#FFFFFF#000000##FFFFFF
##1D25A61.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0034A4
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d25a6;
/* rgb */ color: rgb(29, 37, 166);
/* oklch */ color: oklch(37.0% 0.199 269.2);
Tailwind
colors: {
  custom: {
    50: '#7561c2',
    500: '#1d25a6',
    950: '#000000',
  },
}
SCSS
$custom: #1d25a6;
$custom-light: #7561c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d25a6",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 236.496,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36993,
    "c": 0.1989,
    "h": 269.2
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#1D25A6
secondary
#C6C059
accent
#E33BED
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #1D25A6

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

Preview Lab → · Contrast checker → · Palette generator →

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