#1E248F#1E248F

#1E248F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.171 H 270.8°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#1E248F
RGBrgb(30, 36, 143)
HSLhsl(237, 65%, 34%)
HSVhsv(237, 79%, 56%)
CMYKcmyk(79%, 74.8%, 0%, 43.9%)
CIE-LABlab(22.02, 36.56, -59.07)
CIE-LCHlch(22.02, 69.47, 301.76°)
OKLaboklab(34.31% 0.0023 -0.171)
OKLCHoklch(34.31% 0.171 270.8)
XYZxyz(6.1225, 3.5203, 26.3381)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E248F #8F891E
analogous
#1E5D8F #1E248F #511E8F
triadic
#1E248F #8F1E24 #248F1E
tetradic
#1E248F #8F1E5D #8F891E #1E8F51
square
#1E248F #8F1E5D #8F891E #1E8F51
split-complementary
#1E248F #8F511E #5D8F1E
monochromatic
#090B2A #13175C #1E248F #2931C2 #4E55DA

Accessibility & contrast

On white

12.32
#1E248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E248F
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E248F#FFFFFF#000000##FFFFFF
##1E248F1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e248f;
/* rgb */ color: rgb(30, 36, 143);
/* oklch */ color: oklch(34.3% 0.171 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f60b1',
    500: '#1e248f',
    950: '#000000',
  },
}
SCSS
$custom: #1e248f;
$custom-light: #6f60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e248f",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 236.814,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34305,
    "c": 0.17106,
    "h": 270.8
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#1E248F
secondary
#BCB74C
accent
#DF40E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E248F

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

Preview Lab → · Contrast checker → · Palette generator →

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