#1E2F82#1E2F82

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

Color values

HEX#1E2F82
RGBrgb(30, 47, 130)
HSLhsl(230, 63%, 31%)
HSVhsv(230, 77%, 51%)
CMYKcmyk(76.9%, 63.8%, 0%, 49%)
CIE-LABlab(23.41, 24.47, -48.66)
CIE-LCHlch(23.41, 54.47, 296.70°)
OKLaboklab(34.92% -0.0028 -0.1406)
OKLCHoklch(34.92% 0.141 268.8)
XYZxyz(5.5798, 3.9202, 21.5774)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F82 #82711E
analogous
#1E6182 #1E2F82 #3F1E82
triadic
#1E2F82 #821E2F #2F821E
tetradic
#1E2F82 #821E61 #82711E #1E823F
square
#1E2F82 #821E61 #82711E #1E823F
split-complementary
#1E2F82 #823F1E #61821E
monochromatic
#070B1F #131D50 #1E2F82 #2941B4 #465ED4

Accessibility & contrast

On white

11.77
#1E2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2F82
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F82#FFFFFF#000000##FFFFFF
##1E2F821.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2f82;
/* rgb */ color: rgb(30, 47, 130);
/* oklch */ color: oklch(34.9% 0.141 268.8);
Tailwind
colors: {
  custom: {
    50: '#6a67a7',
    500: '#1e2f82',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f82;
$custom-light: #6a67a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f82",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 229.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34922,
    "c": 0.14064,
    "h": 268.8
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#1E2F82
secondary
#B5A247
accent
#CA42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1E2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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