#1E2C7D#1E2C7D

#1E2C7D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.137 H 269.8°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1E2C7D
RGBrgb(30, 44, 125)
HSLhsl(231, 61%, 30%)
HSVhsv(231, 76%, 49%)
CMYKcmyk(76%, 64.8%, 0%, 51%)
CIE-LABlab(22.15, 24.59, -47.56)
CIE-LCHlch(22.15, 53.54, 297.34°)
OKLaboklab(33.86% -0.0006 -0.1374)
OKLCHoklch(33.86% 0.137 269.8)
XYZxyz(5.1365, 3.5575, 19.8140)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C7D #7D6F1E
analogous
#1E5B7D #1E2C7D #3F1E7D
triadic
#1E2C7D #7D1E2C #2C7D1E
tetradic
#1E2C7D #7D1E5B #7D6F1E #1E7D3F
square
#1E2C7D #7D1E5B #7D6F1E #1E7D3F
split-complementary
#1E2C7D #7D3F1E #5B7D1E
monochromatic
#06091A #121B4C #1E2C7D #2A3DAE #4358D2

Accessibility & contrast

On white

12.27
#1E2C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C7D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C7D#FFFFFF#000000##FFFFFF
##1E2C7D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2c7d;
/* rgb */ color: rgb(30, 44, 125);
/* oklch */ color: oklch(33.9% 0.137 269.8);
Tailwind
colors: {
  custom: {
    50: '#6965a3',
    500: '#1e2c7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c7d;
$custom-light: #6965a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c7d",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 231.158,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33855,
    "c": 0.13741,
    "h": 269.8
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#1E2C7D
secondary
#B0A146
accent
#CD43E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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