#1E398B#1E398B

#1E398B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.140 H 265.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#1E398B
RGBrgb(30, 57, 139)
HSLhsl(225, 64%, 33%)
HSVhsv(225, 78%, 55%)
CMYKcmyk(78.4%, 59%, 0%, 45.5%)
CIE-LABlab(26.92, 21.10, -48.55)
CIE-LCHlch(26.92, 52.93, 293.49°)
OKLaboklab(37.78% -0.0099 -0.1401)
OKLCHoklch(37.78% 0.14 265.9)
XYZxyz(6.6571, 5.0656, 25.0480)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E398B #8B701E
analogous
#1E6F8B #1E398B #3A1E8B
triadic
#1E398B #8B1E39 #398B1E
tetradic
#1E398B #8B1E6F #8B701E #1E8B3A
square
#1E398B #8B1E6F #8B701E #1E8B3A
split-complementary
#1E398B #8B3A1E #6F8B1E
monochromatic
#081026 #132459 #1E398B #294EBD #4B6ED8

Accessibility & contrast

On white

10.43
#1E398B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1E398B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E398B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E398B#FFFFFF#000000##FFFFFF
##1E398B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e398b;
/* rgb */ color: rgb(30, 57, 139);
/* oklch */ color: oklch(37.8% 0.140 265.9);
Tailwind
colors: {
  custom: {
    50: '#6c6eae',
    500: '#1e398b',
    950: '#000000',
  },
}
SCSS
$custom: #1e398b;
$custom-light: #6c6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e398b",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 225.138,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37782,
    "c": 0.14048,
    "h": 265.9
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#1E398B
secondary
#BB9F4A
accent
#BE40E7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E398B

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

Preview Lab → · Contrast checker → · Palette generator →

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