#1D267C#1D267C

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

Color values

HEX#1D267C
RGBrgb(29, 38, 124)
HSLhsl(234, 62%, 30%)
HSVhsv(234, 77%, 49%)
CMYKcmyk(76.6%, 69.4%, 0%, 51.4%)
CIE-LABlab(20.45, 28.18, -49.72)
CIE-LCHlch(20.45, 57.15, 299.54°)
OKLaboklab(32.56% 0.0025 -0.1438)
OKLCHoklch(32.56% 0.144 271)
XYZxyz(4.8367, 3.1022, 19.4088)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D267C #7C731D
analogous
#1D557C #1D267C #441D7C
triadic
#1D267C #7C1D26 #267C1D
tetradic
#1D267C #7C1D55 #7C731D #1D7C44
square
#1D267C #7C1D55 #7C731D #1D7C44
split-complementary
#1D267C #7C441D #557C1D
monochromatic
#060819 #11174A #1D267C #2935AE #414FD3

Accessibility & contrast

On white

12.96
#1D267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D267C
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D267C#FFFFFF#000000##FFFFFF
##1D267C1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d267c;
/* rgb */ color: rgb(29, 38, 124);
/* oklch */ color: oklch(32.6% 0.144 271.0);
Tailwind
colors: {
  custom: {
    50: '#6960a3',
    500: '#1d267c',
    950: '#000000',
  },
}
SCSS
$custom: #1d267c;
$custom-light: #6960a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d267c",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 234.316,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.32563,
    "c": 0.14381,
    "h": 271
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#1D267C
secondary
#B0A645
accent
#D643E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D267C

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

Preview Lab → · Contrast checker → · Palette generator →

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