#1D283F#1D283F

#1D283F is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.8% C 0.045 H 264.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#1D283F
RGBrgb(29, 40, 63)
HSLhsl(221, 37%, 18%)
HSVhsv(221, 54%, 25%)
CMYKcmyk(54%, 36.5%, 0%, 75.3%)
CIE-LABlab(16.19, 2.92, -16.12)
CIE-LCHlch(16.19, 16.38, 280.25°)
OKLaboklab(27.85% -0.0046 -0.0452)
OKLCHoklch(27.85% 0.045 264.1)
XYZxyz(2.1624, 2.1375, 5.0003)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D283F #3F341D
analogous
#1D393F #1D283F #231D3F
triadic
#1D283F #3F1D28 #283F1D
tetradic
#1D283F #3F1D39 #3F341D #1D3F23
square
#1D283F #3F1D39 #3F341D #1D3F23
split-complementary
#1D283F #3F231D #393F1D
monochromatic
#0A0D15 #0A0D15 #1D283F #304369 #445D93

Accessibility & contrast

On white

14.71
#1D283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1D283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D283F
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D283F#FFFFFF#000000##FFFFFF
##1D283F1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A40
Deuteranopia (green-blind)
#1C273E
Tritanopia (blue-blind)
#0F2D30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d283f;
/* rgb */ color: rgb(29, 40, 63);
/* oklch */ color: oklch(27.8% 0.045 264.1);
Tailwind
colors: {
  custom: {
    50: '#5b6174',
    500: '#1d283f',
    950: '#000000',
  },
}
SCSS
$custom: #1d283f;
$custom-light: #5b6174;
$custom-dark: #000000;
JSON
{
  "hex": "#1d283f",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 220.588,
    "s": 36.957,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27845,
    "c": 0.04549,
    "h": 264.1
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#1D283F
secondary
#746444
accent
#A85BCD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040508
muted
#79797B

Preview Lab

Preview with #1D283F

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

Preview Lab → · Contrast checker → · Palette generator →

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