#1E2E7D#1E2E7D

#1E2E7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.135 H 269.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#1E2E7D
RGBrgb(30, 46, 125)
HSLhsl(230, 61%, 30%)
HSVhsv(230, 76%, 49%)
CMYKcmyk(76%, 63.2%, 0%, 51%)
CIE-LABlab(22.69, 23.21, -46.68)
CIE-LCHlch(22.69, 52.13, 296.43°)
OKLaboklab(34.25% -0.002 -0.1348)
OKLCHoklch(34.25% 0.135 269.1)
XYZxyz(5.2128, 3.7101, 19.8395)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E7D #7D6D1E
analogous
#1E5D7D #1E2E7D #3E1E7D
triadic
#1E2E7D #7D1E2E #2E7D1E
tetradic
#1E2E7D #7D1E5D #7D6D1E #1E7D3E
square
#1E2E7D #7D1E5D #7D6D1E #1E7D3E
split-complementary
#1E2E7D #7D3E1E #5D7D1E
monochromatic
#060A1A #121C4C #1E2E7D #2A40AE #435BD2

Accessibility & contrast

On white

12.05
#1E2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E2E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E7D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E7D#FFFFFF#000000##FFFFFF
##1E2E7D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2e7d;
/* rgb */ color: rgb(30, 46, 125);
/* oklch */ color: oklch(34.3% 0.135 269.1);
Tailwind
colors: {
  custom: {
    50: '#6966a3',
    500: '#1e2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e7d;
$custom-light: #6966a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e7d",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 229.895,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34253,
    "c": 0.13483,
    "h": 269.1
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#1E2E7D
secondary
#B09F46
accent
#C943E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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