#1D266B#1D266B

#1D266B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.120 H 271.7°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#1D266B
RGBrgb(29, 38, 107)
HSLhsl(233, 57%, 27%)
HSVhsv(233, 73%, 42%)
CMYKcmyk(72.9%, 64.5%, 0%, 58%)
CIE-LABlab(18.84, 21.60, -41.42)
CIE-LCHlch(18.84, 46.72, 297.54°)
OKLaboklab(30.89% 0.0036 -0.1195)
OKLCHoklch(30.89% 0.12 271.7)
XYZxyz(3.8528, 2.7086, 14.2268)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D266B #6B621D
analogous
#1D4D6B #1D266B #3B1D6B
triadic
#1D266B #6B1D26 #266B1D
tetradic
#1D266B #6B1D4D #6B621D #1D6B3B
square
#1D266B #6B1D4D #6B621D #1D6B3B
split-complementary
#1D266B #6B3B1D #4D6B1D
monochromatic
#070918 #10153B #1D266B #2A379B #394AC9

Accessibility & contrast

On white

13.62
#1D266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D266B
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D266B#FFFFFF#000000##FFFFFF
##1D266B1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d266b;
/* rgb */ color: rgb(29, 38, 107);
/* oklch */ color: oklch(30.9% 0.120 271.7);
Tailwind
colors: {
  custom: {
    50: '#656096',
    500: '#1d266b',
    950: '#000000',
  },
}
SCSS
$custom: #1d266b;
$custom-light: #656096;
$custom-dark: #000000;
JSON
{
  "hex": "#1d266b",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 233.077,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30886,
    "c": 0.11955,
    "h": 271.7
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#1D266B
secondary
#A09544
accent
#CF47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1D266B

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

Preview Lab → · Contrast checker → · Palette generator →

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