#1E309B#1E309B

#1E309B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.173 H 268.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#1E309B
RGBrgb(30, 48, 155)
HSLhsl(231, 68%, 36%)
HSVhsv(231, 81%, 61%)
CMYKcmyk(80.6%, 69%, 0%, 39.2%)
CIE-LABlab(26.03, 33.37, -59.85)
CIE-LCHlch(26.03, 68.53, 299.14°)
OKLaboklab(37.57% -0.0047 -0.1733)
OKLCHoklch(37.57% 0.173 268.4)
XYZxyz(7.5067, 4.7556, 31.5263)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E309B #9B891E
analogous
#1E6F9B #1E309B #4B1E9B
triadic
#1E309B #9B1E30 #309B1E
tetradic
#1E309B #9B1E6F #9B891E #1E9B4B
square
#1E309B #9B1E6F #9B891E #1E9B4B
split-complementary
#1E309B #9B4B1E #6F9B1E
monochromatic
#0A1034 #142068 #1E309B #2840CE #5569DE

Accessibility & contrast

On white

10.76
#1E309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1E309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E309B
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E309B#FFFFFF#000000##FFFFFF
##1E309B1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e309b;
/* rgb */ color: rgb(30, 48, 155);
/* oklch */ color: oklch(37.6% 0.173 268.4);
Tailwind
colors: {
  custom: {
    50: '#7168ba',
    500: '#1e309b',
    950: '#000000',
  },
}
SCSS
$custom: #1e309b;
$custom-light: #7168ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e309b",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 231.36,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37568,
    "c": 0.1734,
    "h": 268.4
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#1E309B
secondary
#C2B253
accent
#D23DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E309B

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

Preview Lab → · Contrast checker → · Palette generator →

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