#1D2268#1D2268

#1D2268 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.120 H 273.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#1D2268
RGBrgb(29, 34, 104)
HSLhsl(236, 56%, 26%)
HSVhsv(236, 72%, 41%)
CMYKcmyk(72.1%, 67.3%, 0%, 59.2%)
CIE-LABlab(17.48, 23.24, -41.68)
CIE-LCHlch(17.48, 47.72, 299.14°)
OKLaboklab(29.8% 0.0071 -0.1203)
OKLCHoklch(29.8% 0.121 273.4)
XYZxyz(3.5766, 2.4044, 13.3696)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2268 #68631D
analogous
#1D4768 #1D2268 #3D1D68
triadic
#1D2268 #681D22 #22681D
tetradic
#1D2268 #681D47 #68631D #1D683D
square
#1D2268 #681D47 #68631D #1D683D
split-complementary
#1D2268 #683D1D #47681D
monochromatic
#070818 #101238 #1D2268 #2A3298 #3841C7

Accessibility & contrast

On white

14.18
#1D2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1D2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2268
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2268#FFFFFF#000000##FFFFFF
##1D22681.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d2268;
/* rgb */ color: rgb(29, 34, 104);
/* oklch */ color: oklch(29.8% 0.120 273.4);
Tailwind
colors: {
  custom: {
    50: '#645d94',
    500: '#1d2268',
    950: '#000000',
  },
}
SCSS
$custom: #1d2268;
$custom-light: #645d94;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2268",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 236,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29802,
    "c": 0.1205,
    "h": 273.4
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#1D2268
secondary
#9D9744
accent
#D648E0
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1D2268

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

Preview Lab → · Contrast checker → · Palette generator →

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