#1D266F#1D266F

#1D266F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.125 H 271.6°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#1D266F
RGBrgb(29, 38, 111)
HSLhsl(233, 59%, 27%)
HSVhsv(233, 74%, 44%)
CMYKcmyk(73.9%, 65.8%, 0%, 56.5%)
CIE-LABlab(19.20, 23.17, -43.42)
CIE-LCHlch(19.20, 49.22, 298.08°)
OKLaboklab(31.27% 0.0034 -0.1254)
OKLCHoklch(31.27% 0.125 271.6)
XYZxyz(4.0681, 2.7947, 15.3609)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D266F #6F661D
analogous
#1D4F6F #1D266F #3D1D6F
triadic
#1D266F #6F1D26 #266F1D
tetradic
#1D266F #6F1D4F #6F661D #1D6F3D
square
#1D266F #6F1D4F #6F661D #1D6F3D
split-complementary
#1D266F #6F3D1D #4F6F1D
monochromatic
#060818 #10153E #1D266F #2A37A0 #3B4BCC

Accessibility & contrast

On white

13.47
#1D266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D266F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D266F#FFFFFF#000000##FFFFFF
##1D266F1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d266f;
/* rgb */ color: rgb(29, 38, 111);
/* oklch */ color: oklch(31.3% 0.125 271.6);
Tailwind
colors: {
  custom: {
    50: '#666099',
    500: '#1d266f',
    950: '#000000',
  },
}
SCSS
$custom: #1d266f;
$custom-light: #666099;
$custom-dark: #000000;
JSON
{
  "hex": "#1d266f",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 233.415,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31269,
    "c": 0.12541,
    "h": 271.6
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#1D266F
secondary
#A39944
accent
#D146E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1D266F

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

Preview Lab → · Contrast checker → · Palette generator →

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