#1E246F#1E246F

#1E246F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.128 H 272.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#1E246F
RGBrgb(30, 36, 111)
HSLhsl(236, 57%, 28%)
HSVhsv(236, 73%, 44%)
CMYKcmyk(73%, 67.6%, 0%, 56.5%)
CIE-LABlab(18.74, 24.69, -44.18)
CIE-LCHlch(18.74, 50.62, 299.20°)
OKLaboklab(30.94% 0.0062 -0.1276)
OKLCHoklch(30.94% 0.128 272.8)
XYZxyz(4.0346, 2.6851, 15.3415)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E246F #6F691E
analogous
#1E4C6F #1E246F #411E6F
triadic
#1E246F #6F1E24 #246F1E
tetradic
#1E246F #6F1E4C #6F691E #1E6F41
square
#1E246F #6F1E4C #6F691E #1E6F41
split-complementary
#1E246F #6F411E #4C6F1E
monochromatic
#070818 #11143F #1E246F #2B349F #3D47CB

Accessibility & contrast

On white

13.66
#1E246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E246F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E246F#FFFFFF#000000##FFFFFF
##1E246F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e246f;
/* rgb */ color: rgb(30, 36, 111);
/* oklch */ color: oklch(30.9% 0.128 272.8);
Tailwind
colors: {
  custom: {
    50: '#665e99',
    500: '#1e246f',
    950: '#000000',
  },
}
SCSS
$custom: #1e246f;
$custom-light: #665e99;
$custom-dark: #000000;
JSON
{
  "hex": "#1e246f",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 235.556,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30943,
    "c": 0.12773,
    "h": 272.8
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#1E246F
secondary
#A39C46
accent
#D547E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E246F

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

Preview Lab → · Contrast checker → · Palette generator →

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