#1D267A#1D267A

#1D267A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.141 H 271.1°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#1D267A
RGBrgb(29, 38, 122)
HSLhsl(234, 62%, 30%)
HSVhsv(234, 76%, 48%)
CMYKcmyk(76.2%, 68.9%, 0%, 52.2%)
CIE-LABlab(20.25, 27.42, -48.77)
CIE-LCHlch(20.25, 55.94, 299.34°)
OKLaboklab(32.36% 0.0027 -0.141)
OKLCHoklch(32.36% 0.141 271.1)
XYZxyz(4.7115, 3.0521, 18.7494)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D267A #7A711D
analogous
#1D547A #1D267A #431D7A
triadic
#1D267A #7A1D26 #267A1D
tetradic
#1D267A #7A1D54 #7A711D #1D7A43
square
#1D267A #7A1D54 #7A711D #1D7A43
split-complementary
#1D267A #7A431D #547A1D
monochromatic
#060819 #111749 #1D267A #2935AB #404ED2

Accessibility & contrast

On white

13.04
#1D267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1D267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D267A
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D267A#FFFFFF#000000##FFFFFF
##1D267A1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d267a;
/* rgb */ color: rgb(29, 38, 122);
/* oklch */ color: oklch(32.4% 0.141 271.1);
Tailwind
colors: {
  custom: {
    50: '#6960a1',
    500: '#1d267a',
    950: '#000000',
  },
}
SCSS
$custom: #1d267a;
$custom-light: #6960a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d267a",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 234.194,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32359,
    "c": 0.14105,
    "h": 271.1
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#1D267A
secondary
#AEA445
accent
#D543E5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D267A

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

Preview Lab → · Contrast checker → · Palette generator →

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