#1E247E#1E247E

#1E247E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.149 H 271.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#1E247E
RGBrgb(30, 36, 126)
HSLhsl(236, 62%, 31%)
HSVhsv(236, 76%, 49%)
CMYKcmyk(76.2%, 71.4%, 0%, 50.6%)
CIE-LABlab(20.22, 30.37, -51.36)
CIE-LCHlch(20.22, 59.67, 300.59°)
OKLaboklab(32.47% 0.0047 -0.1486)
OKLCHoklch(32.47% 0.149 271.8)
XYZxyz(4.9309, 3.0436, 20.0622)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E247E #7E781E
analogous
#1E547E #1E247E #481E7E
triadic
#1E247E #7E1E24 #247E1E
tetradic
#1E247E #7E1E54 #7E781E #1E7E48
square
#1E247E #7E1E54 #7E781E #1E7E48
split-complementary
#1E247E #7E481E #547E1E
monochromatic
#06081B #12164D #1E247E #2A32AF #444DD2

Accessibility & contrast

On white

13.05
#1E247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E247E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E247E#FFFFFF#000000##FFFFFF
##1E247E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e247e;
/* rgb */ color: rgb(30, 36, 126);
/* oklch */ color: oklch(32.5% 0.149 271.8);
Tailwind
colors: {
  custom: {
    50: '#6a5fa4',
    500: '#1e247e',
    950: '#000000',
  },
}
SCSS
$custom: #1e247e;
$custom-light: #6a5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e247e",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 236.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32473,
    "c": 0.14866,
    "h": 271.8
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#1E247E
secondary
#B1AB47
accent
#DB43E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E247E

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

Preview Lab → · Contrast checker → · Palette generator →

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