#1D267D#1D267D

#1D267D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.145 H 271.0°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#1D267D
RGBrgb(29, 38, 125)
HSLhsl(234, 62%, 30%)
HSVhsv(234, 77%, 49%)
CMYKcmyk(76.8%, 69.6%, 0%, 51%)
CIE-LABlab(20.55, 28.56, -50.19)
CIE-LCHlch(20.55, 57.74, 299.64°)
OKLaboklab(32.67% 0.0024 -0.1452)
OKLCHoklch(32.67% 0.145 271)
XYZxyz(4.9002, 3.1276, 19.7435)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D267D #7D741D
analogous
#1D567D #1D267D #441D7D
triadic
#1D267D #7D1D26 #267D1D
tetradic
#1D267D #7D1D56 #7D741D #1D7D44
square
#1D267D #7D1D56 #7D741D #1D7D44
split-complementary
#1D267D #7D441D #567D1D
monochromatic
#06081A #11174B #1D267D #2935AF #414FD3

Accessibility & contrast

On white

12.92
#1D267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1D267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D267D
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D267D#FFFFFF#000000##FFFFFF
##1D267D1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d267d;
/* rgb */ color: rgb(29, 38, 125);
/* oklch */ color: oklch(32.7% 0.145 271.0);
Tailwind
colors: {
  custom: {
    50: '#6960a4',
    500: '#1d267d',
    950: '#000000',
  },
}
SCSS
$custom: #1d267d;
$custom-light: #6960a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d267d",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 234.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32666,
    "c": 0.14519,
    "h": 271
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#1D267D
secondary
#B1A645
accent
#D642E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D267D

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

Preview Lab → · Contrast checker → · Palette generator →

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