#1D245E#1D245E

#1D245E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.3% C 0.103 H 273.1°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#1D245E
RGBrgb(29, 36, 94)
HSLhsl(234, 53%, 24%)
HSVhsv(234, 69%, 37%)
CMYKcmyk(69.1%, 61.7%, 0%, 63.1%)
CIE-LABlab(17.14, 17.90, -35.65)
CIE-LCHlch(17.14, 39.90, 296.67°)
OKLaboklab(29.27% 0.0055 -0.1026)
OKLCHoklch(29.27% 0.103 273.1)
XYZxyz(3.1573, 2.3308, 10.8710)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D245E #5E571D
analogous
#1D455E #1D245E #371D5E
triadic
#1D245E #5E1D24 #245E1D
tetradic
#1D245E #5E1D45 #5E571D #1D5E37
square
#1D245E #5E1D45 #5E571D #1D5E37
split-complementary
#1D245E #5E371D #455E1D
monochromatic
#070917 #0F122F #1D245E #2B368D #3A48BC

Accessibility & contrast

On white

14.32
#1D245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1D245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D245E
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D245E#FFFFFF#000000##FFFFFF
##1D245E1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d245e;
/* rgb */ color: rgb(29, 36, 94);
/* oklch */ color: oklch(29.3% 0.103 273.1);
Tailwind
colors: {
  custom: {
    50: '#625e8c',
    500: '#1d245e',
    950: '#000000',
  },
}
SCSS
$custom: #1d245e;
$custom-light: #625e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d245e",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 233.538,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29267,
    "c": 0.10272,
    "h": 273.1
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#1D245E
secondary
#938B44
accent
#CD4CDC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1D245E

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

Preview Lab → · Contrast checker → · Palette generator →

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