#1E307D#1E307D

#1E307D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.132 H 268.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#1E307D
RGBrgb(30, 48, 125)
HSLhsl(229, 61%, 30%)
HSVhsv(229, 76%, 49%)
CMYKcmyk(76%, 61.6%, 0%, 51%)
CIE-LABlab(23.24, 21.81, -45.79)
CIE-LCHlch(23.24, 50.71, 295.47°)
OKLaboklab(34.66% -0.0036 -0.1322)
OKLCHoklch(34.66% 0.132 268.5)
XYZxyz(5.2928, 3.8700, 19.8661)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E307D #7D6B1E
analogous
#1E5F7D #1E307D #3C1E7D
triadic
#1E307D #7D1E30 #307D1E
tetradic
#1E307D #7D1E5F #7D6B1E #1E7D3C
square
#1E307D #7D1E5F #7D6B1E #1E7D3C
split-complementary
#1E307D #7D3C1E #5F7D1E
monochromatic
#060A1A #121D4C #1E307D #2A43AE #435ED2

Accessibility & contrast

On white

11.84
#1E307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E307D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E307D#FFFFFF#000000##FFFFFF
##1E307D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e307d;
/* rgb */ color: rgb(30, 48, 125);
/* oklch */ color: oklch(34.7% 0.132 268.5);
Tailwind
colors: {
  custom: {
    50: '#6968a3',
    500: '#1e307d',
    950: '#000000',
  },
}
SCSS
$custom: #1e307d;
$custom-light: #6968a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e307d",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 228.632,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3466,
    "c": 0.13221,
    "h": 268.5
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#1E307D
secondary
#B09C46
accent
#C643E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E307D

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

Preview Lab → · Contrast checker → · Palette generator →

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