#1D276D#1D276D

#1D276D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.121 H 271.3°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#1D276D
RGBrgb(29, 39, 109)
HSLhsl(233, 58%, 27%)
HSVhsv(233, 73%, 43%)
CMYKcmyk(73.4%, 64.2%, 0%, 57.3%)
CIE-LABlab(19.29, 21.68, -41.98)
CIE-LCHlch(19.29, 47.25, 297.31°)
OKLaboklab(31.28% 0.0027 -0.1211)
OKLCHoklch(31.28% 0.121 271.3)
XYZxyz(3.9916, 2.8160, 14.7982)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D276D #6D631D
analogous
#1D4F6D #1D276D #3B1D6D
triadic
#1D276D #6D1D27 #276D1D
tetradic
#1D276D #6D1D4F #6D631D #1D6D3B
square
#1D276D #6D1D4F #6D631D #1D6D3B
split-complementary
#1D276D #6D3B1D #4F6D1D
monochromatic
#060918 #10163D #1D276D #2A389D #3A4CCB

Accessibility & contrast

On white

13.43
#1D276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D276D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D276D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D276D#FFFFFF#000000##FFFFFF
##1D276D1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d276d;
/* rgb */ color: rgb(29, 39, 109);
/* oklch */ color: oklch(31.3% 0.121 271.3);
Tailwind
colors: {
  custom: {
    50: '#656198',
    500: '#1d276d',
    950: '#000000',
  },
}
SCSS
$custom: #1d276d;
$custom-light: #656198;
$custom-dark: #000000;
JSON
{
  "hex": "#1d276d",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 232.5,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31278,
    "c": 0.12116,
    "h": 271.3
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#1D276D
secondary
#A29644
accent
#CE47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D276D

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

Preview Lab → · Contrast checker → · Palette generator →

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