#1E247C#1E247C

#1E247C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.146 H 271.9°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#1E247C
RGBrgb(30, 36, 124)
HSLhsl(236, 61%, 30%)
HSVhsv(236, 76%, 49%)
CMYKcmyk(75.8%, 71%, 0%, 51.4%)
CIE-LABlab(20.01, 29.62, -50.43)
CIE-LCHlch(20.01, 58.49, 300.43°)
OKLaboklab(32.26% 0.0049 -0.1458)
OKLCHoklch(32.26% 0.146 271.9)
XYZxyz(4.8032, 2.9925, 19.3894)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E247C #7C761E
analogous
#1E537C #1E247C #471E7C
triadic
#1E247C #7C1E24 #247C1E
tetradic
#1E247C #7C1E53 #7C761E #1E7C47
square
#1E247C #7C1E53 #7C761E #1E7C47
split-complementary
#1E247C #7C471E #537C1E
monochromatic
#060719 #12164B #1E247C #2A32AD #434CD1

Accessibility & contrast

On white

13.14
#1E247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E247C
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E247C#FFFFFF#000000##FFFFFF
##1E247C1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e247c;
/* rgb */ color: rgb(30, 36, 124);
/* oklch */ color: oklch(32.3% 0.146 271.9);
Tailwind
colors: {
  custom: {
    50: '#6a5fa3',
    500: '#1e247c',
    950: '#000000',
  },
}
SCSS
$custom: #1e247c;
$custom-light: #6a5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e247c",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 236.17,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32264,
    "c": 0.14593,
    "h": 271.9
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#1E247C
secondary
#AFA946
accent
#DA44E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E247C

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

Preview Lab → · Contrast checker → · Palette generator →

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