#1D276F#1D276F

#1D276F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.124 H 271.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#1D276F
RGBrgb(29, 39, 111)
HSLhsl(233, 59%, 27%)
HSVhsv(233, 74%, 44%)
CMYKcmyk(73.9%, 64.9%, 0%, 56.5%)
CIE-LABlab(19.47, 22.46, -42.98)
CIE-LCHlch(19.47, 48.50, 297.59°)
OKLaboklab(31.47% 0.0026 -0.1241)
OKLCHoklch(31.47% 0.124 271.2)
XYZxyz(4.1005, 2.8595, 15.3717)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D276F #6F651D
analogous
#1D506F #1D276F #3C1D6F
triadic
#1D276F #6F1D27 #276F1D
tetradic
#1D276F #6F1D50 #6F651D #1D6F3C
square
#1D276F #6F1D50 #6F651D #1D6F3C
split-complementary
#1D276F #6F3C1D #506F1D
monochromatic
#060918 #10163E #1D276F #2A38A0 #3B4CCC

Accessibility & contrast

On white

13.36
#1D276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1D276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D276F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D276F#FFFFFF#000000##FFFFFF
##1D276F1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d276f;
/* rgb */ color: rgb(29, 39, 111);
/* oklch */ color: oklch(31.5% 0.124 271.2);
Tailwind
colors: {
  custom: {
    50: '#666199',
    500: '#1d276f',
    950: '#000000',
  },
}
SCSS
$custom: #1d276f;
$custom-light: #666199;
$custom-dark: #000000;
JSON
{
  "hex": "#1d276f",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 232.683,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31468,
    "c": 0.12409,
    "h": 271.2
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#1D276F
secondary
#A39844
accent
#CF46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D276F

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

Preview Lab → · Contrast checker → · Palette generator →

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