#1E308B#1E308B

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

Color values

HEX#1E308B
RGBrgb(30, 48, 139)
HSLhsl(230, 64%, 33%)
HSVhsv(230, 78%, 55%)
CMYKcmyk(78.4%, 65.5%, 0%, 45.5%)
CIE-LABlab(24.49, 27.29, -52.51)
CIE-LCHlch(24.49, 59.18, 297.46°)
OKLaboklab(35.98% -0.0038 -0.1519)
OKLCHoklch(35.98% 0.152 268.6)
XYZxyz(6.2510, 4.2533, 24.9126)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E308B #8B791E
analogous
#1E668B #1E308B #421E8B
triadic
#1E308B #8B1E30 #308B1E
tetradic
#1E308B #8B1E66 #8B791E #1E8B42
square
#1E308B #8B1E66 #8B791E #1E8B42
split-complementary
#1E308B #8B421E #668B1E
monochromatic
#080D26 #131F59 #1E308B #2941BD #4B62D8

Accessibility & contrast

On white

11.35
#1E308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E308B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E308B#FFFFFF#000000##FFFFFF
##1E308B1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e308b;
/* rgb */ color: rgb(30, 48, 139);
/* oklch */ color: oklch(36.0% 0.152 268.6);
Tailwind
colors: {
  custom: {
    50: '#6c68ae',
    500: '#1e308b',
    950: '#000000',
  },
}
SCSS
$custom: #1e308b;
$custom-light: #6c68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e308b",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 230.092,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35977,
    "c": 0.15193,
    "h": 268.6
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#1E308B
secondary
#BBA84A
accent
#CC40E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E308B

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

Preview Lab → · Contrast checker → · Palette generator →

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