#1D2575#1D2575

#1D2575 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.135 H 271.6°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#1D2575
RGBrgb(29, 37, 117)
HSLhsl(235, 60%, 29%)
HSVhsv(235, 75%, 46%)
CMYKcmyk(75.2%, 68.4%, 0%, 54.1%)
CIE-LABlab(19.51, 26.18, -46.79)
CIE-LCHlch(19.51, 53.61, 299.23°)
OKLaboklab(31.67% 0.0038 -0.1352)
OKLCHoklch(31.67% 0.135 271.6)
XYZxyz(4.3781, 2.8683, 17.1491)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2575 #756D1D
analogous
#1D5175 #1D2575 #411D75
triadic
#1D2575 #751D25 #25751D
tetradic
#1D2575 #751D51 #756D1D #1D7541
square
#1D2575 #751D51 #756D1D #1D7541
split-complementary
#1D2575 #75411D #51751D
monochromatic
#060819 #111544 #1D2575 #2935A6 #3D4BCF

Accessibility & contrast

On white

13.34
#1D2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1D2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2575
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2575#FFFFFF#000000##FFFFFF
##1D25751.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d2575;
/* rgb */ color: rgb(29, 37, 117);
/* oklch */ color: oklch(31.7% 0.135 271.6);
Tailwind
colors: {
  custom: {
    50: '#675f9e',
    500: '#1d2575',
    950: '#000000',
  },
}
SCSS
$custom: #1d2575;
$custom-light: #675f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2575",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 234.545,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31668,
    "c": 0.13528,
    "h": 271.6
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#1D2575
secondary
#A9A045
accent
#D544E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2575

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

Preview Lab → · Contrast checker → · Palette generator →

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