#1E348E#1E348E

#1E348E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.151 H 267.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#1E348E
RGBrgb(30, 52, 142)
HSLhsl(228, 65%, 34%)
HSVhsv(228, 79%, 56%)
CMYKcmyk(78.9%, 63.4%, 0%, 44.3%)
CIE-LABlab(25.82, 25.73, -52.21)
CIE-LCHlch(25.82, 58.20, 296.24°)
OKLaboklab(37.04% -0.0064 -0.1509)
OKLCHoklch(37.04% 0.151 267.6)
XYZxyz(6.6442, 4.6843, 26.1399)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E348E #8E781E
analogous
#1E6C8E #1E348E #401E8E
triadic
#1E348E #8E1E34 #348E1E
tetradic
#1E348E #8E1E6C #8E781E #1E8E40
square
#1E348E #8E1E6C #8E781E #1E8E40
split-complementary
#1E348E #8E401E #6C8E1E
monochromatic
#090F29 #13215B #1E348E #2947C1 #4D69D9

Accessibility & contrast

On white

10.84
#1E348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1E348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E348E
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E348E#FFFFFF#000000##FFFFFF
##1E348E1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e348e;
/* rgb */ color: rgb(30, 52, 142);
/* oklch */ color: oklch(37.0% 0.151 267.6);
Tailwind
colors: {
  custom: {
    50: '#6d6bb0',
    500: '#1e348e',
    950: '#000000',
  },
}
SCSS
$custom: #1e348e;
$custom-light: #6d6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e348e",
  "rgb": {
    "r": 30,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 228.214,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37039,
    "c": 0.15108,
    "h": 267.6
  },
  "luminance": 0.04685
}

Semantic roles & 50–950 ramp

primary
#1E348E
secondary
#BCA64C
accent
#C740E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E348E

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

Preview Lab → · Contrast checker → · Palette generator →

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