#1D256A#1D256A

#1D256A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.6% C 0.119 H 272.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#1D256A
RGBrgb(29, 37, 106)
HSLhsl(234, 57%, 26%)
HSVhsv(234, 73%, 42%)
CMYKcmyk(72.6%, 65.1%, 0%, 58.4%)
CIE-LABlab(18.47, 21.91, -41.37)
CIE-LCHlch(18.47, 46.81, 297.91°)
OKLaboklab(30.59% 0.0045 -0.1193)
OKLCHoklch(30.59% 0.119 272.1)
XYZxyz(3.7689, 2.6246, 13.9409)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D256A #6A621D
analogous
#1D4C6A #1D256A #3C1D6A
triadic
#1D256A #6A1D25 #256A1D
tetradic
#1D256A #6A1D4C #6A621D #1D6A3C
square
#1D256A #6A1D4C #6A621D #1D6A3C
split-complementary
#1D256A #6A3C1D #4C6A1D
monochromatic
#070818 #10143A #1D256A #2A369A #3948C9

Accessibility & contrast

On white

13.77
#1D256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D256A
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D256A#FFFFFF#000000##FFFFFF
##1D256A1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d256a;
/* rgb */ color: rgb(29, 37, 106);
/* oklch */ color: oklch(30.6% 0.119 272.1);
Tailwind
colors: {
  custom: {
    50: '#655f95',
    500: '#1d256a',
    950: '#000000',
  },
}
SCSS
$custom: #1d256a;
$custom-light: #655f95;
$custom-dark: #000000;
JSON
{
  "hex": "#1d256a",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 233.766,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30589,
    "c": 0.11942,
    "h": 272.1
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#1D256A
secondary
#9F9544
accent
#D048E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1D256A

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

Preview Lab → · Contrast checker → · Palette generator →

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