#1D285F#1D285F

#1D285F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.099 H 270.9°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#1D285F
RGBrgb(29, 40, 95)
HSLhsl(230, 53%, 24%)
HSVhsv(230, 69%, 37%)
CMYKcmyk(69.5%, 57.9%, 0%, 62.7%)
CIE-LABlab(18.39, 15.40, -34.29)
CIE-LCHlch(18.39, 37.59, 294.19°)
OKLaboklab(30.23% 0.0015 -0.0985)
OKLCHoklch(30.23% 0.099 270.9)
XYZxyz(3.3303, 2.6047, 11.1515)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D285F #5F541D
analogous
#1D495F #1D285F #331D5F
triadic
#1D285F #5F1D28 #285F1D
tetradic
#1D285F #5F1D49 #5F541D #1D5F33
square
#1D285F #5F1D49 #5F541D #1D5F33
split-complementary
#1D285F #5F331D #495F1D
monochromatic
#070A17 #0F1430 #1D285F #2B3C8E #3A4FBD

Accessibility & contrast

On white

13.81
#1D285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1D285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D285F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D285F#FFFFFF#000000##FFFFFF
##1D285F1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033061
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d285f;
/* rgb */ color: rgb(29, 40, 95);
/* oklch */ color: oklch(30.2% 0.099 270.9);
Tailwind
colors: {
  custom: {
    50: '#62618d',
    500: '#1d285f',
    950: '#000000',
  },
}
SCSS
$custom: #1d285f;
$custom-light: #62618d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d285f",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 230,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30228,
    "c": 0.09851,
    "h": 270.9
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#1D285F
secondary
#948744
accent
#C44BDD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1D285F

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

Preview Lab → · Contrast checker → · Palette generator →

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