#1D268F#1D268F

#1D268F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.169 H 270.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1D268F
RGBrgb(29, 38, 143)
HSLhsl(235, 66%, 34%)
HSVhsv(235, 80%, 56%)
CMYKcmyk(79.7%, 73.4%, 0%, 43.9%)
CIE-LABlab(22.41, 35.24, -58.42)
CIE-LCHlch(22.41, 68.23, 301.10°)
OKLaboklab(34.57% 0.0003 -0.1692)
OKLCHoklch(34.57% 0.169 270.1)
XYZxyz(6.1560, 3.6299, 26.3575)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D268F #8F861D
analogous
#1D5F8F #1D268F #4D1D8F
triadic
#1D268F #8F1D26 #268F1D
tetradic
#1D268F #8F1D5F #8F861D #1D8F4D
square
#1D268F #8F1D5F #8F861D #1D8F4D
split-complementary
#1D268F #8F4D1D #5F8F1D
monochromatic
#080B29 #13185C #1D268F #2734C2 #4C57DB

Accessibility & contrast

On white

12.17
#1D268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1D268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D268F
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D268F#FFFFFF#000000##FFFFFF
##1D268F1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d268f;
/* rgb */ color: rgb(29, 38, 143);
/* oklch */ color: oklch(34.6% 0.169 270.1);
Tailwind
colors: {
  custom: {
    50: '#6e61b1',
    500: '#1d268f',
    950: '#000000',
  },
}
SCSS
$custom: #1d268f;
$custom-light: #6e61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d268f",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 235.263,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3457,
    "c": 0.1692,
    "h": 270.1
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#1D268F
secondary
#BDB44B
accent
#DC3FE9
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D268F

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

Preview Lab → · Contrast checker → · Palette generator →

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