#1E348C#1E348C

#1E348C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.148 H 267.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#1E348C
RGBrgb(30, 52, 140)
HSLhsl(228, 65%, 33%)
HSVhsv(228, 79%, 55%)
CMYKcmyk(78.6%, 62.9%, 0%, 45.1%)
CIE-LABlab(25.64, 24.95, -51.26)
CIE-LCHlch(25.64, 57.01, 295.95°)
OKLaboklab(36.85% -0.0064 -0.1482)
OKLCHoklch(36.85% 0.148 267.5)
XYZxyz(6.4954, 4.6247, 25.3562)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E348C #8C761E
analogous
#1E6B8C #1E348C #3F1E8C
triadic
#1E348C #8C1E34 #348C1E
tetradic
#1E348C #8C1E6B #8C761E #1E8C3F
square
#1E348C #8C1E6B #8C761E #1E8C3F
split-complementary
#1E348C #8C3F1E #6B8C1E
monochromatic
#080F27 #13215A #1E348C #2947BE #4C68D9

Accessibility & contrast

On white

10.91
#1E348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1E348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E348C
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E348C#FFFFFF#000000##FFFFFF
##1E348C1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e348c;
/* rgb */ color: rgb(30, 52, 140);
/* oklch */ color: oklch(36.9% 0.148 267.5);
Tailwind
colors: {
  custom: {
    50: '#6c6bae',
    500: '#1e348c',
    950: '#000000',
  },
}
SCSS
$custom: #1e348c;
$custom-light: #6c6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e348c",
  "rgb": {
    "r": 30,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 228,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36852,
    "c": 0.1483,
    "h": 267.5
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#1E348C
secondary
#BBA54B
accent
#C640E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E348C

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

Preview Lab → · Contrast checker → · Palette generator →

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