#1E248B#1E248B

#1E248B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.166 H 271.0°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#1E248B
RGBrgb(30, 36, 139)
HSLhsl(237, 64%, 33%)
HSVhsv(237, 78%, 55%)
CMYKcmyk(78.4%, 74.1%, 0%, 45.5%)
CIE-LABlab(21.58, 35.13, -57.29)
CIE-LCHlch(21.58, 67.21, 301.52°)
OKLaboklab(33.87% 0.0029 -0.1659)
OKLCHoklch(33.87% 0.166 271)
XYZxyz(5.8249, 3.4012, 24.7706)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E248B #8B851E
analogous
#1E5A8B #1E248B #4E1E8B
triadic
#1E248B #8B1E24 #248B1E
tetradic
#1E248B #8B1E5A #8B851E #1E8B4E
square
#1E248B #8B1E5A #8B851E #1E8B4E
split-complementary
#1E248B #8B4E1E #5A8B1E
monochromatic
#080A26 #131759 #1E248B #2931BD #4B53D8

Accessibility & contrast

On white

12.50
#1E248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E248B
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E248B#FFFFFF#000000##FFFFFF
##1E248B1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#002E89
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e248b;
/* rgb */ color: rgb(30, 36, 139);
/* oklch */ color: oklch(33.9% 0.166 271.0);
Tailwind
colors: {
  custom: {
    50: '#6e5fae',
    500: '#1e248b',
    950: '#000000',
  },
}
SCSS
$custom: #1e248b;
$custom-light: #6e5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e248b",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 236.697,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33866,
    "c": 0.1659,
    "h": 271
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#1E248B
secondary
#BBB44A
accent
#DE40E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E248B

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

Preview Lab → · Contrast checker → · Palette generator →

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