#1E248E#1E248E

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

Color values

HEX#1E248E
RGBrgb(30, 36, 142)
HSLhsl(237, 65%, 34%)
HSVhsv(237, 79%, 56%)
CMYKcmyk(78.9%, 74.6%, 0%, 44.3%)
CIE-LABlab(21.91, 36.21, -58.63)
CIE-LCHlch(21.91, 68.91, 301.70°)
OKLaboklab(34.19% 0.0024 -0.1698)
OKLCHoklch(34.19% 0.17 270.8)
XYZxyz(6.0471, 3.4901, 25.9409)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E248E #8E881E
analogous
#1E5C8E #1E248E #501E8E
triadic
#1E248E #8E1E24 #248E1E
tetradic
#1E248E #8E1E5C #8E881E #1E8E50
square
#1E248E #8E1E5C #8E881E #1E8E50
split-complementary
#1E248E #8E501E #5C8E1E
monochromatic
#090A29 #13175B #1E248E #2931C1 #4D55D9

Accessibility & contrast

On white

12.37
#1E248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E248E
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E248E#FFFFFF#000000##FFFFFF
##1E248E1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e248e;
/* rgb */ color: rgb(30, 36, 142);
/* oklch */ color: oklch(34.2% 0.170 270.8);
Tailwind
colors: {
  custom: {
    50: '#6e60b0',
    500: '#1e248e',
    950: '#000000',
  },
}
SCSS
$custom: #1e248e;
$custom-light: #6e60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e248e",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 236.786,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34194,
    "c": 0.16978,
    "h": 270.8
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E248E

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

Preview Lab → · Contrast checker → · Palette generator →

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