#1E2F8F#1E2F8F

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

Color values

HEX#1E2F8F
RGBrgb(30, 47, 143)
HSLhsl(231, 65%, 34%)
HSVhsv(231, 79%, 56%)
CMYKcmyk(79%, 67.1%, 0%, 43.9%)
CIE-LABlab(24.61, 29.50, -54.80)
CIE-LCHlch(24.61, 62.23, 298.30°)
OKLaboklab(36.18% -0.0034 -0.1586)
OKLCHoklch(36.18% 0.159 268.8)
XYZxyz(6.5081, 4.2915, 26.4666)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F8F #8F7E1E
analogous
#1E688F #1E2F8F #461E8F
triadic
#1E2F8F #8F1E2F #2F8F1E
tetradic
#1E2F8F #8F1E68 #8F7E1E #1E8F46
square
#1E2F8F #8F1E68 #8F7E1E #1E8F46
split-complementary
#1E2F8F #8F461E #688F1E
monochromatic
#090E2A #131E5C #1E2F8F #2940C2 #4E63DA

Accessibility & contrast

On white

11.30
#1E2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1E2F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F8F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F8F#FFFFFF#000000##FFFFFF
##1E2F8F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e2f8f;
/* rgb */ color: rgb(30, 47, 143);
/* oklch */ color: oklch(36.2% 0.159 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e67b1',
    500: '#1e2f8f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f8f;
$custom-light: #6e67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f8f",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 230.973,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36181,
    "c": 0.15861,
    "h": 268.8
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#1E2F8F
secondary
#BCAC4C
accent
#CF40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E2F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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