#1E338B#1E338B

#1E338B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.148 H 267.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#1E338B
RGBrgb(30, 51, 139)
HSLhsl(228, 64%, 33%)
HSVhsv(228, 78%, 55%)
CMYKcmyk(78.4%, 63.3%, 0%, 45.5%)
CIE-LABlab(25.28, 25.24, -51.22)
CIE-LCHlch(25.28, 57.10, 296.24°)
OKLaboklab(36.56% -0.0057 -0.1481)
OKLCHoklch(36.56% 0.148 267.8)
XYZxyz(6.3778, 4.5070, 24.9549)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E338B #8B761E
analogous
#1E698B #1E338B #3F1E8B
triadic
#1E338B #8B1E33 #338B1E
tetradic
#1E338B #8B1E69 #8B761E #1E8B3F
square
#1E338B #8B1E69 #8B761E #1E8B3F
split-complementary
#1E338B #8B3F1E #698B1E
monochromatic
#080E26 #132159 #1E338B #2945BD #4B66D8

Accessibility & contrast

On white

11.04
#1E338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1E338B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E338B
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E338B#FFFFFF#000000##FFFFFF
##1E338B1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e338b;
/* rgb */ color: rgb(30, 51, 139);
/* oklch */ color: oklch(36.6% 0.148 267.8);
Tailwind
colors: {
  custom: {
    50: '#6c6aae',
    500: '#1e338b',
    950: '#000000',
  },
}
SCSS
$custom: #1e338b;
$custom-light: #6c6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e338b",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 228.44,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3656,
    "c": 0.14817,
    "h": 267.8
  },
  "luminance": 0.04508
}

Semantic roles & 50–950 ramp

primary
#1E338B
secondary
#BBA54A
accent
#C740E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E338B

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

Preview Lab → · Contrast checker → · Palette generator →

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