#1E2F86#1E2F86

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

Color values

HEX#1E2F86
RGBrgb(30, 47, 134)
HSLhsl(230, 63%, 32%)
HSVhsv(230, 78%, 53%)
CMYKcmyk(77.6%, 64.9%, 0%, 47.5%)
CIE-LABlab(23.77, 26.03, -50.58)
CIE-LCHlch(23.77, 56.88, 297.24°)
OKLaboklab(35.3% -0.0029 -0.1462)
OKLCHoklch(35.3% 0.146 268.8)
XYZxyz(5.8535, 4.0296, 23.0189)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F86 #86751E
analogous
#1E6386 #1E2F86 #411E86
triadic
#1E2F86 #861E2F #2F861E
tetradic
#1E2F86 #861E63 #86751E #1E8641
square
#1E2F86 #861E63 #86751E #1E8641
split-complementary
#1E2F86 #86411E #63861E
monochromatic
#080C22 #131D54 #1E2F86 #2941B8 #485FD6

Accessibility & contrast

On white

11.63
#1E2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E2F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F86
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F86#FFFFFF#000000##FFFFFF
##1E2F861.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2f86;
/* rgb */ color: rgb(30, 47, 134);
/* oklch */ color: oklch(35.3% 0.146 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b67aa',
    500: '#1e2f86',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f86;
$custom-light: #6b67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f86",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 230.192,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35303,
    "c": 0.14625,
    "h": 268.8
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#1E2F86
secondary
#B8A647
accent
#CB41E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1E2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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