#1E308A#1E308A

#1E308A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.151 H 268.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#1E308A
RGBrgb(30, 48, 138)
HSLhsl(230, 64%, 33%)
HSVhsv(230, 78%, 54%)
CMYKcmyk(78.3%, 65.2%, 0%, 45.9%)
CIE-LABlab(24.40, 26.90, -52.04)
CIE-LCHlch(24.40, 58.58, 297.34°)
OKLaboklab(35.88% -0.0037 -0.1505)
OKLCHoklch(35.88% 0.151 268.6)
XYZxyz(6.1782, 4.2242, 24.5296)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E308A #8A781E
analogous
#1E668A #1E308A #421E8A
triadic
#1E308A #8A1E30 #308A1E
tetradic
#1E308A #8A1E66 #8A781E #1E8A42
square
#1E308A #8A1E66 #8A781E #1E8A42
split-complementary
#1E308A #8A421E #668A1E
monochromatic
#080D25 #131F58 #1E308A #2941BC #4B62D8

Accessibility & contrast

On white

11.38
#1E308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1E308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E308A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E308A#FFFFFF#000000##FFFFFF
##1E308A1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e308a;
/* rgb */ color: rgb(30, 48, 138);
/* oklch */ color: oklch(35.9% 0.151 268.6);
Tailwind
colors: {
  custom: {
    50: '#6c68ad',
    500: '#1e308a',
    950: '#000000',
  },
}
SCSS
$custom: #1e308a;
$custom-light: #6c68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e308a",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 230,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35881,
    "c": 0.15055,
    "h": 268.6
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#1E308A
secondary
#BAA74A
accent
#CB41E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E308A

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

Preview Lab → · Contrast checker → · Palette generator →

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