#1D266D#1D266D

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

Color values

HEX#1D266D
RGBrgb(29, 38, 109)
HSLhsl(233, 58%, 27%)
HSVhsv(233, 73%, 43%)
CMYKcmyk(73.4%, 65.1%, 0%, 57.3%)
CIE-LABlab(19.02, 22.38, -42.43)
CIE-LCHlch(19.02, 47.97, 297.81°)
OKLaboklab(31.08% 0.0035 -0.1224)
OKLCHoklch(31.08% 0.122 271.6)
XYZxyz(3.9592, 2.7512, 14.7874)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D266D #6D641D
analogous
#1D4E6D #1D266D #3C1D6D
triadic
#1D266D #6D1D26 #266D1D
tetradic
#1D266D #6D1D4E #6D641D #1D6D3C
square
#1D266D #6D1D4E #6D641D #1D6D3C
split-complementary
#1D266D #6D3C1D #4E6D1D
monochromatic
#060818 #10153D #1D266D #2A379D #3A4ACB

Accessibility & contrast

On white

13.54
#1D266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D266D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D266D
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D266D#FFFFFF#000000##FFFFFF
##1D266D1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d266d;
/* rgb */ color: rgb(29, 38, 109);
/* oklch */ color: oklch(31.1% 0.122 271.6);
Tailwind
colors: {
  custom: {
    50: '#656098',
    500: '#1d266d',
    950: '#000000',
  },
}
SCSS
$custom: #1d266d;
$custom-light: #656098;
$custom-dark: #000000;
JSON
{
  "hex": "#1d266d",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 233.25,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31076,
    "c": 0.12249,
    "h": 271.6
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#1D266D
secondary
#A29744
accent
#D047E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1D266D

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

Preview Lab → · Contrast checker → · Palette generator →

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