#1E2D7D#1E2D7D

#1E2D7D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.136 H 269.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#1E2D7D
RGBrgb(30, 45, 125)
HSLhsl(231, 61%, 30%)
HSVhsv(231, 76%, 49%)
CMYKcmyk(76%, 64%, 0%, 51%)
CIE-LABlab(22.42, 23.90, -47.12)
CIE-LCHlch(22.42, 52.84, 296.89°)
OKLaboklab(34.05% -0.0013 -0.1361)
OKLCHoklch(34.05% 0.136 269.5)
XYZxyz(5.1742, 3.6329, 19.8266)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D7D #7D6E1E
analogous
#1E5C7D #1E2D7D #3E1E7D
triadic
#1E2D7D #7D1E2D #2D7D1E
tetradic
#1E2D7D #7D1E5C #7D6E1E #1E7D3E
square
#1E2D7D #7D1E5C #7D6E1E #1E7D3E
split-complementary
#1E2D7D #7D3E1E #5C7D1E
monochromatic
#06091A #121B4C #1E2D7D #2A3FAE #435AD2

Accessibility & contrast

On white

12.16
#1E2D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E2D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D7D
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D7D#FFFFFF#000000##FFFFFF
##1E2D7D1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2d7d;
/* rgb */ color: rgb(30, 45, 125);
/* oklch */ color: oklch(34.1% 0.136 269.5);
Tailwind
colors: {
  custom: {
    50: '#6965a3',
    500: '#1e2d7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d7d;
$custom-light: #6965a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d7d",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 230.526,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34053,
    "c": 0.13612,
    "h": 269.5
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#1E2D7D
secondary
#B0A046
accent
#CB43E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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