#1E248C#1E248C

#1E248C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.167 H 270.9°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1E248C
RGBrgb(30, 36, 140)
HSLhsl(237, 65%, 33%)
HSVhsv(237, 79%, 55%)
CMYKcmyk(78.6%, 74.3%, 0%, 45.1%)
CIE-LABlab(21.69, 35.49, -57.74)
CIE-LCHlch(21.69, 67.77, 301.58°)
OKLaboklab(33.98% 0.0027 -0.1672)
OKLCHoklch(33.98% 0.167 270.9)
XYZxyz(5.8983, 3.4306, 25.1572)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E248C #8C861E
analogous
#1E5B8C #1E248C #4F1E8C
triadic
#1E248C #8C1E24 #248C1E
tetradic
#1E248C #8C1E5B #8C861E #1E8C4F
square
#1E248C #8C1E5B #8C861E #1E8C4F
split-complementary
#1E248C #8C4F1E #5B8C1E
monochromatic
#080A27 #13175A #1E248C #2931BE #4C53D9

Accessibility & contrast

On white

12.45
#1E248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E248C
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E248C#FFFFFF#000000##FFFFFF
##1E248C1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e248c;
/* rgb */ color: rgb(30, 36, 140);
/* oklch */ color: oklch(34.0% 0.167 270.9);
Tailwind
colors: {
  custom: {
    50: '#6e60af',
    500: '#1e248c',
    950: '#000000',
  },
}
SCSS
$custom: #1e248c;
$custom-light: #6e60af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e248c",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 236.727,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33975,
    "c": 0.16719,
    "h": 270.9
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#1E248C
secondary
#BBB54B
accent
#DF40E8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E248C

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

Preview Lab → · Contrast checker → · Palette generator →

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