#1D2E6C#1D2E6C

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

Color values

HEX#1D2E6C
RGBrgb(29, 46, 108)
HSLhsl(227, 58%, 27%)
HSVhsv(227, 73%, 42%)
CMYKcmyk(73.1%, 57.4%, 0%, 57.6%)
CIE-LABlab(21.20, 16.29, -38.23)
CIE-LCHlch(21.20, 41.56, 293.07°)
OKLaboklab(32.67% -0.0035 -0.11)
OKLCHoklch(32.67% 0.11 268.2)
XYZxyz(4.1895, 3.2975, 14.6001)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E6C #6C5B1D
analogous
#1D566C #1D2E6C #341D6C
triadic
#1D2E6C #6C1D2E #2E6C1D
tetradic
#1D2E6C #6C1D56 #6C5B1D #1D6C34
square
#1D2E6C #6C1D56 #6C5B1D #1D6C34
split-complementary
#1D2E6C #6C341D #566C1D
monochromatic
#060A18 #10193C #1D2E6C #2A439C #3959CA

Accessibility & contrast

On white

12.65
#1D2E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2E6C
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E6C#FFFFFF#000000##FFFFFF
##1D2E6C1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2e6c;
/* rgb */ color: rgb(29, 46, 108);
/* oklch */ color: oklch(32.7% 0.110 268.2);
Tailwind
colors: {
  custom: {
    50: '#646697',
    500: '#1d2e6c',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e6c;
$custom-light: #646697;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e6c",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 227.089,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32674,
    "c": 0.11007,
    "h": 268.2
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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