#1E307F#1E307F

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

Color values

HEX#1E307F
RGBrgb(30, 48, 127)
HSLhsl(229, 62%, 31%)
HSVhsv(229, 76%, 50%)
CMYKcmyk(76.4%, 62.2%, 0%, 50.2%)
CIE-LABlab(23.41, 22.60, -46.76)
CIE-LCHlch(23.41, 51.94, 295.79°)
OKLaboklab(34.84% -0.0035 -0.135)
OKLCHoklch(34.84% 0.135 268.5)
XYZxyz(5.4218, 3.9217, 20.5458)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E307F #7F6D1E
analogous
#1E607F #1E307F #3C1E7F
triadic
#1E307F #7F1E30 #307F1E
tetradic
#1E307F #7F1E60 #7F6D1E #1E7F3C
square
#1E307F #7F1E60 #7F6D1E #1E7F3C
split-complementary
#1E307F #7F3C1E #607F1E
monochromatic
#070B1C #121D4D #1E307F #2A43B1 #445FD3

Accessibility & contrast

On white

11.77
#1E307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1E307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E307F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E307F#FFFFFF#000000##FFFFFF
##1E307F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e307f;
/* rgb */ color: rgb(30, 48, 127);
/* oklch */ color: oklch(34.8% 0.135 268.5);
Tailwind
colors: {
  custom: {
    50: '#6968a5',
    500: '#1e307f',
    950: '#000000',
  },
}
SCSS
$custom: #1e307f;
$custom-light: #6968a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e307f",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 228.866,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34843,
    "c": 0.13508,
    "h": 268.5
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#1E307F
secondary
#B29E47
accent
#C743E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E307F

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

Preview Lab → · Contrast checker → · Palette generator →

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