#1E308E#1E308E

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

Color values

HEX#1E308E
RGBrgb(30, 48, 142)
HSLhsl(230, 65%, 34%)
HSVhsv(230, 79%, 56%)
CMYKcmyk(78.9%, 66.2%, 0%, 44.3%)
CIE-LABlab(24.77, 28.45, -53.92)
CIE-LCHlch(24.77, 60.96, 297.82°)
OKLaboklab(36.27% -0.0039 -0.156)
OKLCHoklch(36.27% 0.156 268.6)
XYZxyz(6.4732, 4.3422, 26.0829)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E308E #8E7C1E
analogous
#1E688E #1E308E #441E8E
triadic
#1E308E #8E1E30 #308E1E
tetradic
#1E308E #8E1E68 #8E7C1E #1E8E44
square
#1E308E #8E1E68 #8E7C1E #1E8E44
split-complementary
#1E308E #8E441E #688E1E
monochromatic
#090E29 #131F5B #1E308E #2941C1 #4D64D9

Accessibility & contrast

On white

11.24
#1E308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E308E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E308E#FFFFFF#000000##FFFFFF
##1E308E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e308e;
/* rgb */ color: rgb(30, 48, 142);
/* oklch */ color: oklch(36.3% 0.156 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d68b0',
    500: '#1e308e',
    950: '#000000',
  },
}
SCSS
$custom: #1e308e;
$custom-light: #6d68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e308e",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 230.357,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36269,
    "c": 0.15604,
    "h": 268.6
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#1E308E
secondary
#BCAA4C
accent
#CD40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E308E

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

Preview Lab → · Contrast checker → · Palette generator →

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