#1D255D#1D255D

#1D255D is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.100 H 272.6°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#1D255D
RGBrgb(29, 37, 93)
HSLhsl(233, 52%, 24%)
HSVhsv(233, 69%, 36%)
CMYKcmyk(68.8%, 60.2%, 0%, 63.5%)
CIE-LABlab(17.34, 16.78, -34.66)
CIE-LCHlch(17.34, 38.51, 295.84°)
OKLaboklab(29.39% 0.0045 -0.0996)
OKLCHoklch(29.39% 0.1 272.6)
XYZxyz(3.1434, 2.3744, 10.6465)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D255D #5D551D
analogous
#1D455D #1D255D #351D5D
triadic
#1D255D #5D1D25 #255D1D
tetradic
#1D255D #5D1D45 #5D551D #1D5D35
square
#1D255D #5D1D45 #5D551D #1D5D35
split-complementary
#1D255D #5D351D #455D1D
monochromatic
#070917 #0E122E #1D255D #2C388C #3A4ABA

Accessibility & contrast

On white

14.24
#1D255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1D255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D255D
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D255D#FFFFFF#000000##FFFFFF
##1D255D1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d255d;
/* rgb */ color: rgb(29, 37, 93);
/* oklch */ color: oklch(29.4% 0.100 272.6);
Tailwind
colors: {
  custom: {
    50: '#615f8b',
    500: '#1d255d',
    950: '#000000',
  },
}
SCSS
$custom: #1d255d;
$custom-light: #615f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d255d",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 232.5,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29394,
    "c": 0.09972,
    "h": 272.6
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#1D255D
secondary
#928844
accent
#CA4CDC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1D255D

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

Preview Lab → · Contrast checker → · Palette generator →

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