#1D277A#1D277A

#1D277A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.140 H 270.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1D277A
RGBrgb(29, 39, 122)
HSLhsl(234, 62%, 30%)
HSVhsv(234, 76%, 48%)
CMYKcmyk(76.2%, 68%, 0%, 52.2%)
CIE-LABlab(20.51, 26.74, -48.35)
CIE-LCHlch(20.51, 55.25, 298.94°)
OKLaboklab(32.55% 0.002 -0.1398)
OKLCHoklch(32.55% 0.14 270.8)
XYZxyz(4.7439, 3.1169, 18.7602)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D277A #7A701D
analogous
#1D567A #1D277A #411D7A
triadic
#1D277A #7A1D27 #277A1D
tetradic
#1D277A #7A1D56 #7A701D #1D7A41
square
#1D277A #7A1D56 #7A701D #1D7A41
split-complementary
#1D277A #7A411D #567A1D
monochromatic
#060819 #111749 #1D277A #2937AB #4050D2

Accessibility & contrast

On white

12.94
#1D277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D277A
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D277A#FFFFFF#000000##FFFFFF
##1D277A1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d277a;
/* rgb */ color: rgb(29, 39, 122);
/* oklch */ color: oklch(32.5% 0.140 270.8);
Tailwind
colors: {
  custom: {
    50: '#6961a1',
    500: '#1d277a',
    950: '#000000',
  },
}
SCSS
$custom: #1d277a;
$custom-light: #6961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d277a",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 233.548,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32545,
    "c": 0.1398,
    "h": 270.8
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#1D277A
secondary
#AEA245
accent
#D343E5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D277A

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

Preview Lab → · Contrast checker → · Palette generator →

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