#1E248D#1E248D

#1E248D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.168 H 270.9°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1E248D
RGBrgb(30, 36, 141)
HSLhsl(237, 65%, 34%)
HSVhsv(237, 79%, 55%)
CMYKcmyk(78.7%, 74.5%, 0%, 44.7%)
CIE-LABlab(21.80, 35.85, -58.18)
CIE-LCHlch(21.80, 68.34, 301.64°)
OKLaboklab(34.09% 0.0026 -0.1685)
OKLCHoklch(34.09% 0.168 270.9)
XYZxyz(5.9724, 3.4602, 25.5473)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E248D #8D871E
analogous
#1E5B8D #1E248D #4F1E8D
triadic
#1E248D #8D1E24 #248D1E
tetradic
#1E248D #8D1E5B #8D871E #1E8D4F
square
#1E248D #8D1E5B #8D871E #1E8D4F
split-complementary
#1E248D #8D4F1E #5B8D1E
monochromatic
#090A28 #13175B #1E248D #2931BF #4C54D9

Accessibility & contrast

On white

12.41
#1E248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E248D
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E248D#FFFFFF#000000##FFFFFF
##1E248D1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e248d;
/* rgb */ color: rgb(30, 36, 141);
/* oklch */ color: oklch(34.1% 0.168 270.9);
Tailwind
colors: {
  custom: {
    50: '#6e60af',
    500: '#1e248d',
    950: '#000000',
  },
}
SCSS
$custom: #1e248d;
$custom-light: #6e60af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e248d",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 236.757,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34085,
    "c": 0.16849,
    "h": 270.9
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#1E248D
secondary
#BCB54B
accent
#DF40E8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1E248D

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

Preview Lab → · Contrast checker → · Palette generator →

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