#1D276B#1D276B

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

Color values

HEX#1D276B
RGBrgb(29, 39, 107)
HSLhsl(232, 57%, 27%)
HSVhsv(232, 73%, 42%)
CMYKcmyk(72.9%, 63.6%, 0%, 58%)
CIE-LABlab(19.11, 20.89, -40.97)
CIE-LCHlch(19.11, 45.99, 297.01°)
OKLaboklab(31.09% 0.0027 -0.1182)
OKLCHoklch(31.09% 0.118 271.3)
XYZxyz(3.8852, 2.7734, 14.2376)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D276B #6B611D
analogous
#1D4E6B #1D276B #3A1D6B
triadic
#1D276B #6B1D27 #276B1D
tetradic
#1D276B #6B1D4E #6B611D #1D6B3A
square
#1D276B #6B1D4E #6B611D #1D6B3A
split-complementary
#1D276B #6B3A1D #4E6B1D
monochromatic
#070918 #10153B #1D276B #2A399B #394CC9

Accessibility & contrast

On white

13.51
#1D276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D276B
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D276B#FFFFFF#000000##FFFFFF
##1D276B1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002B6A
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d276b;
/* rgb */ color: rgb(29, 39, 107);
/* oklch */ color: oklch(31.1% 0.118 271.3);
Tailwind
colors: {
  custom: {
    50: '#656196',
    500: '#1d276b',
    950: '#000000',
  },
}
SCSS
$custom: #1d276b;
$custom-light: #656196;
$custom-dark: #000000;
JSON
{
  "hex": "#1d276b",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 232.308,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3109,
    "c": 0.1182,
    "h": 271.3
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#1D276B
secondary
#A09444
accent
#CD47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1D276B

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

Preview Lab → · Contrast checker → · Palette generator →

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