#1E2F8E#1E2F8E

#1E2F8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.157 H 268.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#1E2F8E
RGBrgb(30, 47, 142)
HSLhsl(231, 65%, 34%)
HSVhsv(231, 79%, 56%)
CMYKcmyk(78.9%, 66.9%, 0%, 44.3%)
CIE-LABlab(24.52, 29.12, -54.33)
CIE-LCHlch(24.52, 61.64, 298.19°)
OKLaboklab(36.08% -0.0033 -0.1572)
OKLCHoklch(36.08% 0.157 268.8)
XYZxyz(6.4327, 4.2613, 26.0694)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F8E #8E7D1E
analogous
#1E678E #1E2F8E #451E8E
triadic
#1E2F8E #8E1E2F #2F8E1E
tetradic
#1E2F8E #8E1E67 #8E7D1E #1E8E45
square
#1E2F8E #8E1E67 #8E7D1E #1E8E45
split-complementary
#1E2F8E #8E451E #678E1E
monochromatic
#090E29 #131E5B #1E2F8E #2940C1 #4D62D9

Accessibility & contrast

On white

11.34
#1E2F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1E2F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F8E
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F8E#FFFFFF#000000##FFFFFF
##1E2F8E1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e2f8e;
/* rgb */ color: rgb(30, 47, 142);
/* oklch */ color: oklch(36.1% 0.157 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d67b0',
    500: '#1e2f8e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f8e;
$custom-light: #6d67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f8e",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 230.893,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36082,
    "c": 0.15725,
    "h": 268.8
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#1E2F8E
secondary
#BCAB4C
accent
#CF40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E2F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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