#1E308C#1E308C

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

Color values

HEX#1E308C
RGBrgb(30, 48, 140)
HSLhsl(230, 65%, 33%)
HSVhsv(230, 79%, 55%)
CMYKcmyk(78.6%, 65.7%, 0%, 45.1%)
CIE-LABlab(24.58, 27.68, -52.98)
CIE-LCHlch(24.58, 59.77, 297.58°)
OKLaboklab(36.07% -0.0038 -0.1533)
OKLCHoklch(36.07% 0.153 268.6)
XYZxyz(6.3244, 4.2827, 25.2992)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E308C #8C7A1E
analogous
#1E678C #1E308C #431E8C
triadic
#1E308C #8C1E30 #308C1E
tetradic
#1E308C #8C1E67 #8C7A1E #1E8C43
square
#1E308C #8C1E67 #8C7A1E #1E8C43
split-complementary
#1E308C #8C431E #678C1E
monochromatic
#080D27 #131F5A #1E308C #2941BE #4C63D9

Accessibility & contrast

On white

11.31
#1E308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E308C
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E308C#FFFFFF#000000##FFFFFF
##1E308C1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e308c;
/* rgb */ color: rgb(30, 48, 140);
/* oklch */ color: oklch(36.1% 0.153 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d68ae',
    500: '#1e308c',
    950: '#000000',
  },
}
SCSS
$custom: #1e308c;
$custom-light: #6d68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e308c",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 230.182,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36074,
    "c": 0.15331,
    "h": 268.6
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#1E308C
secondary
#BBA94B
accent
#CC40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E308C

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

Preview Lab → · Contrast checker → · Palette generator →

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