#1D2256#1D2256

#1D2256 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.093 H 274.6°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#1D2256
RGBrgb(29, 34, 86)
HSLhsl(235, 50%, 23%)
HSVhsv(235, 66%, 34%)
CMYKcmyk(66.3%, 60.5%, 0%, 66.3%)
CIE-LABlab(15.89, 16.21, -32.33)
CIE-LCHlch(15.89, 36.17, 296.62°)
OKLaboklab(28.12% 0.0074 -0.0928)
OKLCHoklch(28.12% 0.093 274.6)
XYZxyz(2.7579, 2.0769, 9.0578)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2256 #56511D
analogous
#1D3E56 #1D2256 #351D56
triadic
#1D2256 #561D22 #22561D
tetradic
#1D2256 #561D3E #56511D #1D5635
square
#1D2256 #561D3E #56511D #1D5635
split-complementary
#1D2256 #56351D #3E561D
monochromatic
#080917 #0E1028 #1D2256 #2C3484 #3C46B2

Accessibility & contrast

On white

14.84
#1D2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1D2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2256
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2256#FFFFFF#000000##FFFFFF
##1D22561.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d2256;
/* rgb */ color: rgb(29, 34, 86);
/* oklch */ color: oklch(28.1% 0.093 274.6);
Tailwind
colors: {
  custom: {
    50: '#605c86',
    500: '#1d2256',
    950: '#000000',
  },
}
SCSS
$custom: #1d2256;
$custom-light: #605c86;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2256",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 234.737,
    "s": 49.565,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28124,
    "c": 0.09312,
    "h": 274.6
  },
  "luminance": 0.02077
}

Semantic roles & 50–950 ramp

primary
#1D2256
secondary
#8B8544
accent
#CD4FD9
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1D2256

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

Preview Lab → · Contrast checker → · Palette generator →

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