#1E246C#1E246C

#1E246C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.123 H 273.0°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#1E246C
RGBrgb(30, 36, 108)
HSLhsl(235, 57%, 27%)
HSVhsv(235, 72%, 42%)
CMYKcmyk(72.2%, 66.7%, 0%, 57.6%)
CIE-LABlab(18.45, 23.54, -42.70)
CIE-LCHlch(18.45, 48.76, 298.87°)
OKLaboklab(30.65% 0.0064 -0.1232)
OKLCHoklch(30.65% 0.123 273)
XYZxyz(3.8722, 2.6201, 14.4861)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E246C #6C661E
analogous
#1E4B6C #1E246C #3F1E6C
triadic
#1E246C #6C1E24 #246C1E
tetradic
#1E246C #6C1E4B #6C661E #1E6C3F
square
#1E246C #6C1E4B #6C661E #1E6C3F
split-complementary
#1E246C #6C3F1E #4B6C1E
monochromatic
#070818 #11143C #1E246C #2B349C #3C47C9

Accessibility & contrast

On white

13.78
#1E246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E246C
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E246C#FFFFFF#000000##FFFFFF
##1E246C1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e246c;
/* rgb */ color: rgb(30, 36, 108);
/* oklch */ color: oklch(30.6% 0.123 273.0);
Tailwind
colors: {
  custom: {
    50: '#665e97',
    500: '#1e246c',
    950: '#000000',
  },
}
SCSS
$custom: #1e246c;
$custom-light: #665e97;
$custom-dark: #000000;
JSON
{
  "hex": "#1e246c",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 235.385,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30649,
    "c": 0.1234,
    "h": 273
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#1E246C
secondary
#A09945
accent
#D448E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1E246C

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

Preview Lab → · Contrast checker → · Palette generator →

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