#1D285A#1D285A

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

Color values

HEX#1D285A
RGBrgb(29, 40, 90)
HSLhsl(229, 51%, 23%)
HSVhsv(229, 68%, 35%)
CMYKcmyk(67.8%, 55.6%, 0%, 64.7%)
CIE-LABlab(17.99, 13.40, -31.60)
CIE-LCHlch(17.99, 34.33, 292.98°)
OKLaboklab(29.81% 0.001 -0.0906)
OKLCHoklch(29.81% 0.091 270.7)
XYZxyz(3.1103, 2.5167, 9.9927)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D285A #5A4F1D
analogous
#1D465A #1D285A #301D5A
triadic
#1D285A #5A1D28 #285A1D
tetradic
#1D285A #5A1D46 #5A4F1D #1D5A30
square
#1D285A #5A1D46 #5A4F1D #1D5A30
split-complementary
#1D285A #5A301D #465A1D
monochromatic
#070A17 #0E132C #1D285A #2C3D88 #3B51B7

Accessibility & contrast

On white

13.97
#1D285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1D285A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D285A
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D285A#FFFFFF#000000##FFFFFF
##1D285A1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2F5C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d285a;
/* rgb */ color: rgb(29, 40, 90);
/* oklch */ color: oklch(29.8% 0.091 270.7);
Tailwind
colors: {
  custom: {
    50: '#606189',
    500: '#1d285a',
    950: '#000000',
  },
}
SCSS
$custom: #1d285a;
$custom-light: #606189;
$custom-dark: #000000;
JSON
{
  "hex": "#1d285a",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 229.18,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29808,
    "c": 0.09061,
    "h": 270.7
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#1D285A
secondary
#8F8244
accent
#C14DDB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #1D285A

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

Preview Lab → · Contrast checker → · Palette generator →

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