#1D2E6D#1D2E6D

#1D2E6D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.112 H 268.2°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#1D2E6D
RGBrgb(29, 46, 109)
HSLhsl(227, 58%, 27%)
HSVhsv(227, 73%, 43%)
CMYKcmyk(73.4%, 57.8%, 0%, 57.3%)
CIE-LABlab(21.28, 16.69, -38.75)
CIE-LCHlch(21.28, 42.19, 293.30°)
OKLaboklab(32.76% -0.0035 -0.1115)
OKLCHoklch(32.76% 0.112 268.2)
XYZxyz(4.2431, 3.3189, 14.8820)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E6D #6D5C1D
analogous
#1D566D #1D2E6D #341D6D
triadic
#1D2E6D #6D1D2E #2E6D1D
tetradic
#1D2E6D #6D1D56 #6D5C1D #1D6D34
square
#1D2E6D #6D1D56 #6D5C1D #1D6D34
split-complementary
#1D2E6D #6D341D #566D1D
monochromatic
#060A18 #101A3D #1D2E6D #2A429D #3A59CB

Accessibility & contrast

On white

12.62
#1D2E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1D2E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E6D
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E6D#FFFFFF#000000##FFFFFF
##1D2E6D1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2e6d;
/* rgb */ color: rgb(29, 46, 109);
/* oklch */ color: oklch(32.8% 0.112 268.2);
Tailwind
colors: {
  custom: {
    50: '#656697',
    500: '#1d2e6d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e6d;
$custom-light: #656697;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e6d",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 227.25,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3276,
    "c": 0.11158,
    "h": 268.2
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#1D2E6D
secondary
#A28E44
accent
#C047E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1D2E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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