#1D2E63#1D2E63

#1D2E63 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.096 H 267.4°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1D2E63
RGBrgb(29, 46, 99)
HSLhsl(225, 55%, 25%)
HSVhsv(225, 71%, 39%)
CMYKcmyk(70.7%, 53.5%, 0%, 61.2%)
CIE-LABlab(20.50, 12.66, -33.50)
CIE-LCHlch(20.50, 35.81, 290.69°)
OKLaboklab(31.93% -0.0044 -0.0961)
OKLCHoklch(31.93% 0.096 267.4)
XYZxyz(3.7350, 3.1157, 12.2065)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E63 #63521D
analogous
#1D5163 #1D2E63 #2F1D63
triadic
#1D2E63 #631D2E #2E631D
tetradic
#1D2E63 #631D51 #63521D #1D632F
square
#1D2E63 #631D51 #63521D #1D632F
split-complementary
#1D2E63 #632F1D #51631D
monochromatic
#070B18 #0F1834 #1D2E63 #2B4492 #395AC2

Accessibility & contrast

On white

12.94
#1D2E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D2E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E63
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E63#FFFFFF#000000##FFFFFF
##1D2E631.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103565
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2e63;
/* rgb */ color: rgb(29, 46, 99);
/* oklch */ color: oklch(31.9% 0.096 267.4);
Tailwind
colors: {
  custom: {
    50: '#626690',
    500: '#1d2e63',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e63;
$custom-light: #626690;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e63",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 225.429,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31926,
    "c": 0.0962,
    "h": 267.4
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#1D2E63
secondary
#988444
accent
#BA4ADE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #1D2E63

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

Preview Lab → · Contrast checker → · Palette generator →

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