#1D25B3#1D25B3

#1D25B3 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.214 H 268.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#1D25B3
RGBrgb(29, 37, 179)
HSLhsl(237, 72%, 41%)
HSVhsv(237, 84%, 70%)
CMYKcmyk(83.8%, 79.3%, 0%, 29.8%)
CIE-LABlab(26.27, 48.23, -73.95)
CIE-LCHlch(26.27, 88.29, 303.11°)
OKLaboklab(38.5% -0.0051 -0.2142)
OKLCHoklch(38.5% 0.214 268.6)
XYZxyz(9.3022, 4.8379, 43.0826)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D25B3 #B3AB1D
analogous
#1D70B3 #1D25B3 #601DB3
triadic
#1D25B3 #B31D25 #25B31D
tetradic
#1D25B3 #B31D70 #B3AB1D #1DB360
square
#1D25B3 #B31D70 #B3AB1D #1DB360
split-complementary
#1D25B3 #B3601D #70B31D
monochromatic
#0C0F4A #141A7E #1D25B3 #3039DD #646BE6

Accessibility & contrast

On white

10.67
#1D25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1D25B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D25B3
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D25B3#FFFFFF#000000##FFFFFF
##1D25B31.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B7
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d25b3;
/* rgb */ color: rgb(29, 37, 179);
/* oklch */ color: oklch(38.5% 0.214 268.6);
Tailwind
colors: {
  custom: {
    50: '#7862cb',
    500: '#1d25b3',
    950: '#000000',
  },
}
SCSS
$custom: #1d25b3;
$custom-light: #7862cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d25b3",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 236.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38497,
    "c": 0.21431,
    "h": 268.6
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#1D25B3
secondary
#CBC561
accent
#E539EF
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0514
muted
#7C7A82

Preview Lab

Preview with #1D25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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