#1E348F#1E348F

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

Color values

HEX#1E348F
RGBrgb(30, 52, 143)
HSLhsl(228, 65%, 34%)
HSVhsv(228, 79%, 56%)
CMYKcmyk(79%, 63.6%, 0%, 43.9%)
CIE-LABlab(25.91, 26.12, -52.68)
CIE-LCHlch(25.91, 58.80, 296.38°)
OKLaboklab(37.13% -0.0064 -0.1523)
OKLCHoklch(37.13% 0.152 267.6)
XYZxyz(6.7196, 4.7144, 26.5371)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E348F #8F791E
analogous
#1E6D8F #1E348F #411E8F
triadic
#1E348F #8F1E34 #348F1E
tetradic
#1E348F #8F1E6D #8F791E #1E8F41
square
#1E348F #8F1E6D #8F791E #1E8F41
split-complementary
#1E348F #8F411E #6D8F1E
monochromatic
#090F2A #13225C #1E348F #2946C2 #4E69DA

Accessibility & contrast

On white

10.81
#1E348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E348F
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E348F#FFFFFF#000000##FFFFFF
##1E348F1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e348f;
/* rgb */ color: rgb(30, 52, 143);
/* oklch */ color: oklch(37.1% 0.152 267.6);
Tailwind
colors: {
  custom: {
    50: '#6d6bb1',
    500: '#1e348f',
    950: '#000000',
  },
}
SCSS
$custom: #1e348f;
$custom-light: #6d6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e348f",
  "rgb": {
    "r": 30,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 228.319,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37133,
    "c": 0.15247,
    "h": 267.6
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#1E348F
secondary
#BCA74C
accent
#C740E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E348F

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

Preview Lab → · Contrast checker → · Palette generator →

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