#1E2F8D#1E2F8D

#1E2F8D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.156 H 268.8°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#1E2F8D
RGBrgb(30, 47, 141)
HSLhsl(231, 65%, 34%)
HSVhsv(231, 79%, 55%)
CMYKcmyk(78.7%, 66.7%, 0%, 44.7%)
CIE-LABlab(24.42, 28.74, -53.87)
CIE-LCHlch(24.42, 61.05, 298.08°)
OKLaboklab(35.98% -0.0032 -0.1559)
OKLCHoklch(35.98% 0.156 268.8)
XYZxyz(6.3580, 4.2314, 25.6758)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F8D #8D7C1E
analogous
#1E668D #1E2F8D #441E8D
triadic
#1E2F8D #8D1E2F #2F8D1E
tetradic
#1E2F8D #8D1E66 #8D7C1E #1E8D44
square
#1E2F8D #8D1E66 #8D7C1E #1E8D44
split-complementary
#1E2F8D #8D441E #668D1E
monochromatic
#090D28 #131E5B #1E2F8D #2940BF #4C62D9

Accessibility & contrast

On white

11.37
#1E2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1E2F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F8D
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F8D#FFFFFF#000000##FFFFFF
##1E2F8D1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e2f8d;
/* rgb */ color: rgb(30, 47, 141);
/* oklch */ color: oklch(36.0% 0.156 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d67af',
    500: '#1e2f8d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f8d;
$custom-light: #6d67af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f8d",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 230.811,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35984,
    "c": 0.15589,
    "h": 268.8
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#1E2F8D
secondary
#BCAA4B
accent
#CE40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E2F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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