#1E247F#1E247F

#1E247F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.150 H 271.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1E247F
RGBrgb(30, 36, 127)
HSLhsl(236, 62%, 31%)
HSVhsv(236, 76%, 50%)
CMYKcmyk(76.4%, 71.7%, 0%, 50.2%)
CIE-LABlab(20.32, 30.74, -51.83)
CIE-LCHlch(20.32, 60.26, 300.67°)
OKLaboklab(32.58% 0.0046 -0.1499)
OKLCHoklch(32.58% 0.15 271.7)
XYZxyz(4.9958, 3.0696, 20.4038)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E247F #7F791E
analogous
#1E547F #1E247F #481E7F
triadic
#1E247F #7F1E24 #247F1E
tetradic
#1E247F #7F1E54 #7F791E #1E7F48
square
#1E247F #7F1E54 #7F791E #1E7F48
split-complementary
#1E247F #7F481E #547F1E
monochromatic
#07081C #12164D #1E247F #2A32B1 #444DD3

Accessibility & contrast

On white

13.01
#1E247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E247F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E247F#FFFFFF#000000##FFFFFF
##1E247F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e247f;
/* rgb */ color: rgb(30, 36, 127);
/* oklch */ color: oklch(32.6% 0.150 271.7);
Tailwind
colors: {
  custom: {
    50: '#6b5fa5',
    500: '#1e247f',
    950: '#000000',
  },
}
SCSS
$custom: #1e247f;
$custom-light: #6b5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e247f",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 236.289,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32578,
    "c": 0.15001,
    "h": 271.7
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E247F

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

Preview Lab → · Contrast checker → · Palette generator →

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