#1E308F#1E308F

#1E308F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.157 H 268.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#1E308F
RGBrgb(30, 48, 143)
HSLhsl(230, 65%, 34%)
HSVhsv(230, 79%, 56%)
CMYKcmyk(79%, 66.4%, 0%, 43.9%)
CIE-LABlab(24.87, 28.83, -54.38)
CIE-LCHlch(24.87, 61.55, 297.93°)
OKLaboklab(36.37% -0.004 -0.1573)
OKLCHoklch(36.37% 0.157 268.6)
XYZxyz(6.5486, 4.3724, 26.4801)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E308F #8F7D1E
analogous
#1E698F #1E308F #441E8F
triadic
#1E308F #8F1E30 #308F1E
tetradic
#1E308F #8F1E69 #8F7D1E #1E8F44
square
#1E308F #8F1E69 #8F7D1E #1E8F44
split-complementary
#1E308F #8F441E #698F1E
monochromatic
#090E2A #131F5C #1E308F #2941C2 #4E64DA

Accessibility & contrast

On white

11.20
#1E308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1E308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E308F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E308F#FFFFFF#000000##FFFFFF
##1E308F1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e308f;
/* rgb */ color: rgb(30, 48, 143);
/* oklch */ color: oklch(36.4% 0.157 268.6);
Tailwind
colors: {
  custom: {
    50: '#6e68b1',
    500: '#1e308f',
    950: '#000000',
  },
}
SCSS
$custom: #1e308f;
$custom-light: #6e68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e308f",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 230.442,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36367,
    "c": 0.1574,
    "h": 268.6
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#1E308F
secondary
#BCAB4C
accent
#CD40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E308F

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

Preview Lab → · Contrast checker → · Palette generator →

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