#1D285B#1D285B

#1D285B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.092 H 270.7°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#1D285B
RGBrgb(29, 40, 91)
HSLhsl(229, 52%, 24%)
HSVhsv(229, 68%, 36%)
CMYKcmyk(68.1%, 56%, 0%, 64.3%)
CIE-LABlab(18.07, 13.80, -32.14)
CIE-LCHlch(18.07, 34.98, 293.24°)
OKLaboklab(29.89% 0.0011 -0.0922)
OKLCHoklch(29.89% 0.092 270.7)
XYZxyz(3.1532, 2.5339, 10.2184)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D285B #5B501D
analogous
#1D475B #1D285B #311D5B
triadic
#1D285B #5B1D28 #285B1D
tetradic
#1D285B #5B1D47 #5B501D #1D5B31
square
#1D285B #5B1D47 #5B501D #1D5B31
split-complementary
#1D285B #5B311D #475B1D
monochromatic
#070A17 #0E142D #1D285B #2C3C89 #3B51B8

Accessibility & contrast

On white

13.94
#1D285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1D285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D285B
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D285B#FFFFFF#000000##FFFFFF
##1D285B1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092F5D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d285b;
/* rgb */ color: rgb(29, 40, 91);
/* oklch */ color: oklch(29.9% 0.092 270.7);
Tailwind
colors: {
  custom: {
    50: '#61618a',
    500: '#1d285b',
    950: '#000000',
  },
}
SCSS
$custom: #1d285b;
$custom-light: #61618a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d285b",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 229.355,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29891,
    "c": 0.0922,
    "h": 270.7
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#1D285B
secondary
#908344
accent
#C24DDB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1D285B

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

Preview Lab → · Contrast checker → · Palette generator →

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