#1D257A#1D257A

#1D257A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.142 H 271.3°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#1D257A
RGBrgb(29, 37, 122)
HSLhsl(235, 62%, 30%)
HSVhsv(235, 76%, 48%)
CMYKcmyk(76.2%, 69.7%, 0%, 52.2%)
CIE-LABlab(20.00, 28.09, -49.18)
CIE-LCHlch(20.00, 56.64, 299.73°)
OKLaboklab(32.18% 0.0034 -0.1422)
OKLCHoklch(32.18% 0.142 271.3)
XYZxyz(4.6799, 2.9890, 18.7389)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D257A #7A721D
analogous
#1D537A #1D257A #441D7A
triadic
#1D257A #7A1D25 #257A1D
tetradic
#1D257A #7A1D53 #7A721D #1D7A44
square
#1D257A #7A1D53 #7A721D #1D7A44
split-complementary
#1D257A #7A441D #537A1D
monochromatic
#060719 #111649 #1D257A #2934AB #404CD2

Accessibility & contrast

On white

13.14
#1D257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D257A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D257A#FFFFFF#000000##FFFFFF
##1D257A1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d257a;
/* rgb */ color: rgb(29, 37, 122);
/* oklch */ color: oklch(32.2% 0.142 271.3);
Tailwind
colors: {
  custom: {
    50: '#695fa1',
    500: '#1d257a',
    950: '#000000',
  },
}
SCSS
$custom: #1d257a;
$custom-light: #695fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d257a",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 234.839,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32176,
    "c": 0.14227,
    "h": 271.3
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#1D257A
secondary
#AEA545
accent
#D743E5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D257A

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

Preview Lab → · Contrast checker → · Palette generator →

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