#1E308D#1E308D

#1E308D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.155 H 268.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#1E308D
RGBrgb(30, 48, 141)
HSLhsl(230, 65%, 34%)
HSVhsv(230, 79%, 55%)
CMYKcmyk(78.7%, 66%, 0%, 44.7%)
CIE-LABlab(24.68, 28.06, -53.45)
CIE-LCHlch(24.68, 60.37, 297.70°)
OKLaboklab(36.17% -0.0038 -0.1546)
OKLCHoklch(36.17% 0.155 268.6)
XYZxyz(6.3984, 4.3123, 25.6893)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E308D #8D7B1E
analogous
#1E678D #1E308D #431E8D
triadic
#1E308D #8D1E30 #308D1E
tetradic
#1E308D #8D1E67 #8D7B1E #1E8D43
square
#1E308D #8D1E67 #8D7B1E #1E8D43
split-complementary
#1E308D #8D431E #678D1E
monochromatic
#090E28 #131F5B #1E308D #2941BF #4C63D9

Accessibility & contrast

On white

11.27
#1E308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1E308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E308D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E308D#FFFFFF#000000##FFFFFF
##1E308D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e308d;
/* rgb */ color: rgb(30, 48, 141);
/* oklch */ color: oklch(36.2% 0.155 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d68af',
    500: '#1e308d',
    950: '#000000',
  },
}
SCSS
$custom: #1e308d;
$custom-light: #6d68af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e308d",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 230.27,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36171,
    "c": 0.15467,
    "h": 268.6
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#1E308D
secondary
#BCA94B
accent
#CD40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E308D

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

Preview Lab → · Contrast checker → · Palette generator →

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