#1E2E81#1E2E81

#1E2E81 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.141 H 269.1°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#1E2E81
RGBrgb(30, 46, 129)
HSLhsl(230, 62%, 31%)
HSVhsv(230, 77%, 51%)
CMYKcmyk(76.7%, 64.3%, 0%, 49.4%)
CIE-LABlab(23.05, 24.77, -48.62)
CIE-LCHlch(23.05, 54.56, 297.00°)
OKLaboklab(34.63% -0.0021 -0.1405)
OKLCHoklch(34.63% 0.141 269.1)
XYZxyz(5.4735, 3.8144, 21.2124)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E81 #81711E
analogous
#1E5F81 #1E2E81 #3F1E81
triadic
#1E2E81 #811E2E #2E811E
tetradic
#1E2E81 #811E5F #81711E #1E813F
square
#1E2E81 #811E5F #81711E #1E813F
split-complementary
#1E2E81 #813F1E #5F811E
monochromatic
#070B1E #121C4F #1E2E81 #2A40B3 #465DD4

Accessibility & contrast

On white

11.91
#1E2E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E2E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E81
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E81#FFFFFF#000000##FFFFFF
##1E2E811.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2e81;
/* rgb */ color: rgb(30, 46, 129);
/* oklch */ color: oklch(34.6% 0.141 269.1);
Tailwind
colors: {
  custom: {
    50: '#6a66a6',
    500: '#1e2e81',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e81;
$custom-light: #6a66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e81",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 230.303,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3463,
    "c": 0.14051,
    "h": 269.1
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#1E2E81
secondary
#B4A247
accent
#CB42E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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