#1E2F81#1E2F81

#1E2F81 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.139 H 268.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#1E2F81
RGBrgb(30, 47, 129)
HSLhsl(230, 62%, 31%)
HSVhsv(230, 77%, 51%)
CMYKcmyk(76.7%, 63.6%, 0%, 49.4%)
CIE-LABlab(23.32, 24.08, -48.18)
CIE-LCHlch(23.32, 53.86, 296.56°)
OKLaboklab(34.83% -0.0028 -0.1392)
OKLCHoklch(34.83% 0.139 268.8)
XYZxyz(5.5130, 3.8934, 21.2256)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F81 #81701E
analogous
#1E6081 #1E2F81 #3E1E81
triadic
#1E2F81 #811E2F #2F811E
tetradic
#1E2F81 #811E60 #81701E #1E813E
square
#1E2F81 #811E60 #81701E #1E813E
split-complementary
#1E2F81 #813E1E #60811E
monochromatic
#070B1E #121D4F #1E2F81 #2A41B3 #465ED4

Accessibility & contrast

On white

11.81
#1E2F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1E2F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F81
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F81#FFFFFF#000000##FFFFFF
##1E2F811.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2f81;
/* rgb */ color: rgb(30, 47, 129);
/* oklch */ color: oklch(34.8% 0.139 268.8);
Tailwind
colors: {
  custom: {
    50: '#6a67a6',
    500: '#1e2f81',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f81;
$custom-light: #6a67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f81",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 229.697,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34828,
    "c": 0.13923,
    "h": 268.8
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#1E2F81
secondary
#B4A147
accent
#C942E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2F81

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

Preview Lab → · Contrast checker → · Palette generator →

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