#1E2F84#1E2F84

#1E2F84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.143 H 268.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#1E2F84
RGBrgb(30, 47, 132)
HSLhsl(230, 63%, 32%)
HSVhsv(230, 77%, 52%)
CMYKcmyk(77.3%, 64.4%, 0%, 48.2%)
CIE-LABlab(23.59, 25.26, -49.62)
CIE-LCHlch(23.59, 55.68, 296.97°)
OKLaboklab(35.11% -0.0029 -0.1434)
OKLCHoklch(35.11% 0.143 268.8)
XYZxyz(5.7154, 3.9744, 22.2912)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F84 #84731E
analogous
#1E6284 #1E2F84 #401E84
triadic
#1E2F84 #841E2F #2F841E
tetradic
#1E2F84 #841E62 #84731E #1E8440
square
#1E2F84 #841E62 #84731E #1E8440
split-complementary
#1E2F84 #84401E #62841E
monochromatic
#070B20 #131D52 #1E2F84 #2941B6 #475FD5

Accessibility & contrast

On white

11.70
#1E2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1E2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F84
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F84#FFFFFF#000000##FFFFFF
##1E2F841.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2f84;
/* rgb */ color: rgb(30, 47, 132);
/* oklch */ color: oklch(35.1% 0.143 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b67a9',
    500: '#1e2f84',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f84;
$custom-light: #6b67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f84",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 230,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35112,
    "c": 0.14346,
    "h": 268.8
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#1E2F84
secondary
#B7A447
accent
#CB42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1E2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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