#1D266E#1D266E

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

Color values

HEX#1D266E
RGBrgb(29, 38, 110)
HSLhsl(233, 58%, 27%)
HSVhsv(233, 74%, 43%)
CMYKcmyk(73.6%, 65.5%, 0%, 56.9%)
CIE-LABlab(19.11, 22.77, -42.93)
CIE-LCHlch(19.11, 48.59, 297.95°)
OKLaboklab(31.17% 0.0035 -0.1239)
OKLCHoklch(31.17% 0.124 271.6)
XYZxyz(4.0133, 2.7728, 15.0725)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D266E #6E651D
analogous
#1D4F6E #1D266E #3C1D6E
triadic
#1D266E #6E1D26 #266E1D
tetradic
#1D266E #6E1D4F #6E651D #1D6E3C
square
#1D266E #6E1D4F #6E651D #1D6E3C
split-complementary
#1D266E #6E3C1D #4F6E1D
monochromatic
#060818 #10153E #1D266E #2A379E #3A4ACB

Accessibility & contrast

On white

13.51
#1D266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D266E
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D266E#FFFFFF#000000##FFFFFF
##1D266E1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d266e;
/* rgb */ color: rgb(29, 38, 110);
/* oklch */ color: oklch(31.2% 0.124 271.6);
Tailwind
colors: {
  custom: {
    50: '#656098',
    500: '#1d266e',
    950: '#000000',
  },
}
SCSS
$custom: #1d266e;
$custom-light: #656098;
$custom-dark: #000000;
JSON
{
  "hex": "#1d266e",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 233.333,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31172,
    "c": 0.12396,
    "h": 271.6
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#1D266E
secondary
#A29844
accent
#D046E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1D266E

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

Preview Lab → · Contrast checker → · Palette generator →

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