#1D2867#1D2867

#1D2867 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.111 H 270.9°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#1D2867
RGBrgb(29, 40, 103)
HSLhsl(231, 56%, 26%)
HSVhsv(231, 72%, 40%)
CMYKcmyk(71.8%, 61.2%, 0%, 59.6%)
CIE-LABlab(19.05, 18.59, -38.48)
CIE-LCHlch(19.05, 42.73, 295.79°)
OKLaboklab(30.93% 0.0018 -0.1108)
OKLCHoklch(30.93% 0.111 270.9)
XYZxyz(3.7128, 2.7577, 13.1660)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2867 #675C1D
analogous
#1D4D67 #1D2867 #371D67
triadic
#1D2867 #671D28 #28671D
tetradic
#1D2867 #671D4D #675C1D #1D6737
square
#1D2867 #671D4D #675C1D #1D6737
split-complementary
#1D2867 #67371D #4D671D
monochromatic
#070918 #101537 #1D2867 #2A3B97 #384DC7

Accessibility & contrast

On white

13.53
#1D2867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2867
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2867#FFFFFF#000000##FFFFFF
##1D28671.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2867;
/* rgb */ color: rgb(29, 40, 103);
/* oklch */ color: oklch(30.9% 0.111 270.9);
Tailwind
colors: {
  custom: {
    50: '#646193',
    500: '#1d2867',
    950: '#000000',
  },
}
SCSS
$custom: #1d2867;
$custom-light: #646193;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2867",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 231.081,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30931,
    "c": 0.11082,
    "h": 270.9
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#1D2867
secondary
#9C8F44
accent
#C948DF
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1D2867

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

Preview Lab → · Contrast checker → · Palette generator →

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