#1E3095#1E3095

#1E3095 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.165 H 268.5°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#1E3095
RGBrgb(30, 48, 149)
HSLhsl(231, 66%, 35%)
HSVhsv(231, 80%, 58%)
CMYKcmyk(79.9%, 67.8%, 0%, 41.6%)
CIE-LABlab(25.44, 31.12, -57.14)
CIE-LCHlch(25.44, 65.06, 298.57°)
OKLaboklab(36.96% -0.0043 -0.1654)
OKLCHoklch(36.96% 0.165 268.5)
XYZxyz(7.0153, 4.5591, 28.9382)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3095 #95831E
analogous
#1E6C95 #1E3095 #471E95
triadic
#1E3095 #951E30 #30951E
tetradic
#1E3095 #951E6C #95831E #1E9547
square
#1E3095 #951E6C #95831E #1E9547
split-complementary
#1E3095 #95471E #6C951E
monochromatic
#090F2F #142062 #1E3095 #2840C8 #5166DC

Accessibility & contrast

On white

10.98
#1E3095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1E3095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3095
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3095#FFFFFF#000000##FFFFFF
##1E30951.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e3095;
/* rgb */ color: rgb(30, 48, 149);
/* oklch */ color: oklch(37.0% 0.165 268.5);
Tailwind
colors: {
  custom: {
    50: '#6f68b5',
    500: '#1e3095',
    950: '#000000',
  },
}
SCSS
$custom: #1e3095;
$custom-light: #6f68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3095",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 230.924,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36962,
    "c": 0.16548,
    "h": 268.5
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#1E3095
secondary
#BFAE50
accent
#D03EE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1E3095

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

Preview Lab → · Contrast checker → · Palette generator →

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