#1D276A#1D276A

#1D276A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.117 H 271.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#1D276A
RGBrgb(29, 39, 106)
HSLhsl(232, 57%, 26%)
HSVhsv(232, 73%, 42%)
CMYKcmyk(72.6%, 63.2%, 0%, 58.4%)
CIE-LABlab(19.02, 20.50, -40.47)
CIE-LCHlch(19.02, 45.36, 296.86°)
OKLaboklab(31% 0.0027 -0.1167)
OKLCHoklch(31% 0.117 271.3)
XYZxyz(3.8329, 2.7525, 13.9622)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D276A #6A601D
analogous
#1D4E6A #1D276A #3A1D6A
triadic
#1D276A #6A1D27 #276A1D
tetradic
#1D276A #6A1D4E #6A601D #1D6A3A
square
#1D276A #6A1D4E #6A601D #1D6A3A
split-complementary
#1D276A #6A3A1D #4E6A1D
monochromatic
#070918 #10153A #1D276A #2A399A #394BC9

Accessibility & contrast

On white

13.54
#1D276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D276A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D276A#FFFFFF#000000##FFFFFF
##1D276A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d276a;
/* rgb */ color: rgb(29, 39, 106);
/* oklch */ color: oklch(31.0% 0.117 271.3);
Tailwind
colors: {
  custom: {
    50: '#646195',
    500: '#1d276a',
    950: '#000000',
  },
}
SCSS
$custom: #1d276a;
$custom-light: #646195;
$custom-dark: #000000;
JSON
{
  "hex": "#1d276a",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 232.208,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30996,
    "c": 0.11671,
    "h": 271.3
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#1D276A
secondary
#9F9344
accent
#CC48E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1D276A

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

Preview Lab → · Contrast checker → · Palette generator →

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