#1D256B#1D256B

#1D256B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.121 H 272.1°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#1D256B
RGBrgb(29, 37, 107)
HSLhsl(234, 57%, 27%)
HSVhsv(234, 73%, 42%)
CMYKcmyk(72.9%, 65.4%, 0%, 58%)
CIE-LABlab(18.56, 22.30, -41.87)
CIE-LCHlch(18.56, 47.44, 298.04°)
OKLaboklab(30.69% 0.0044 -0.1208)
OKLCHoklch(30.69% 0.121 272.1)
XYZxyz(3.8212, 2.6455, 14.2163)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D256B #6B631D
analogous
#1D4C6B #1D256B #3C1D6B
triadic
#1D256B #6B1D25 #256B1D
tetradic
#1D256B #6B1D4C #6B631D #1D6B3C
square
#1D256B #6B1D4C #6B631D #1D6B3C
split-complementary
#1D256B #6B3C1D #4C6B1D
monochromatic
#070818 #10143B #1D256B #2A369B #3948C9

Accessibility & contrast

On white

13.73
#1D256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D256B
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D256B#FFFFFF#000000##FFFFFF
##1D256B1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d256b;
/* rgb */ color: rgb(29, 37, 107);
/* oklch */ color: oklch(30.7% 0.121 272.1);
Tailwind
colors: {
  custom: {
    50: '#655f96',
    500: '#1d256b',
    950: '#000000',
  },
}
SCSS
$custom: #1d256b;
$custom-light: #655f96;
$custom-dark: #000000;
JSON
{
  "hex": "#1d256b",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 233.846,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30685,
    "c": 0.1209,
    "h": 272.1
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#1D256B
secondary
#A09644
accent
#D147E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1D256B

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

Preview Lab → · Contrast checker → · Palette generator →

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