#1E2D7E#1E2D7E

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

Color values

HEX#1E2D7E
RGBrgb(30, 45, 126)
HSLhsl(231, 62%, 31%)
HSVhsv(231, 76%, 49%)
CMYKcmyk(76.2%, 64.3%, 0%, 50.6%)
CIE-LABlab(22.51, 24.29, -47.61)
CIE-LCHlch(22.51, 53.45, 297.03°)
OKLaboklab(34.15% -0.0013 -0.1375)
OKLCHoklch(34.15% 0.138 269.5)
XYZxyz(5.2384, 3.6586, 20.1647)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D7E #7E6F1E
analogous
#1E5D7E #1E2D7E #3F1E7E
triadic
#1E2D7E #7E1E2D #2D7E1E
tetradic
#1E2D7E #7E1E5D #7E6F1E #1E7E3F
square
#1E2D7E #7E1E5D #7E6F1E #1E7E3F
split-complementary
#1E2D7E #7E3F1E #5D7E1E
monochromatic
#060A1B #121B4D #1E2D7E #2A3FAF #445AD2

Accessibility & contrast

On white

12.13
#1E2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2D7E
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D7E#FFFFFF#000000##FFFFFF
##1E2D7E1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2d7e;
/* rgb */ color: rgb(30, 45, 126);
/* oklch */ color: oklch(34.1% 0.138 269.5);
Tailwind
colors: {
  custom: {
    50: '#6965a4',
    500: '#1e2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d7e;
$custom-light: #6965a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d7e",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 230.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34147,
    "c": 0.13755,
    "h": 269.5
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#1E2D7E
secondary
#B1A147
accent
#CB43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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