#1D285D#1D285D

#1D285D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.095 H 270.8°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#1D285D
RGBrgb(29, 40, 93)
HSLhsl(230, 52%, 24%)
HSVhsv(230, 69%, 36%)
CMYKcmyk(68.8%, 57%, 0%, 63.5%)
CIE-LABlab(18.23, 14.60, -33.22)
CIE-LCHlch(18.23, 36.29, 293.73°)
OKLaboklab(30.06% 0.0013 -0.0954)
OKLCHoklch(30.06% 0.095 270.8)
XYZxyz(3.2406, 2.5688, 10.6789)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D285D #5D521D
analogous
#1D485D #1D285D #321D5D
triadic
#1D285D #5D1D28 #285D1D
tetradic
#1D285D #5D1D48 #5D521D #1D5D32
square
#1D285D #5D1D48 #5D521D #1D5D32
split-complementary
#1D285D #5D321D #485D1D
monochromatic
#070A17 #0E142E #1D285D #2C3C8C #3A50BA

Accessibility & contrast

On white

13.87
#1D285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D285D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D285D#FFFFFF#000000##FFFFFF
##1D285D1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062F5F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d285d;
/* rgb */ color: rgb(29, 40, 93);
/* oklch */ color: oklch(30.1% 0.095 270.8);
Tailwind
colors: {
  custom: {
    50: '#61618b',
    500: '#1d285d',
    950: '#000000',
  },
}
SCSS
$custom: #1d285d;
$custom-light: #61618b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d285d",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 229.688,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30059,
    "c": 0.09537,
    "h": 270.8
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#1D285D
secondary
#928544
accent
#C34CDC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1D285D

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

Preview Lab → · Contrast checker → · Palette generator →

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