#1E388E#1E388E

#1E388E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.146 H 266.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#1E388E
RGBrgb(30, 56, 142)
HSLhsl(226, 65%, 34%)
HSVhsv(226, 79%, 56%)
CMYKcmyk(78.9%, 60.6%, 0%, 44.3%)
CIE-LABlab(26.90, 22.98, -50.44)
CIE-LCHlch(26.90, 55.43, 294.50°)
OKLaboklab(37.84% -0.0091 -0.1457)
OKLCHoklch(37.84% 0.146 266.4)
XYZxyz(6.8304, 5.0566, 26.2020)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E388E #8E741E
analogous
#1E708E #1E388E #3C1E8E
triadic
#1E388E #8E1E38 #388E1E
tetradic
#1E388E #8E1E70 #8E741E #1E8E3C
square
#1E388E #8E1E70 #8E741E #1E8E3C
split-complementary
#1E388E #8E3C1E #708E1E
monochromatic
#091029 #13245B #1E388E #294CC1 #4D6ED9

Accessibility & contrast

On white

10.44
#1E388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1E388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E388E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E388E#FFFFFF#000000##FFFFFF
##1E388E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e388e;
/* rgb */ color: rgb(30, 56, 142);
/* oklch */ color: oklch(37.8% 0.146 266.4);
Tailwind
colors: {
  custom: {
    50: '#6d6eb0',
    500: '#1e388e',
    950: '#000000',
  },
}
SCSS
$custom: #1e388e;
$custom-light: #6d6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e388e",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 226.071,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37842,
    "c": 0.14601,
    "h": 266.4
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#1E388E
secondary
#BCA24C
accent
#C140E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E388E

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

Preview Lab → · Contrast checker → · Palette generator →

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