#1E407B#1E407B

#1E407B is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.108 H 260.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#1E407B
RGBrgb(30, 64, 123)
HSLhsl(218, 61%, 30%)
HSVhsv(218, 76%, 48%)
CMYKcmyk(75.6%, 48%, 0%, 51.8%)
CIE-LABlab(27.77, 9.79, -37.19)
CIE-LCHlch(27.77, 38.46, 284.74°)
OKLaboklab(38.05% -0.0177 -0.1066)
OKLCHoklch(38.05% 0.108 260.6)
XYZxyz(5.9427, 5.3722, 19.4588)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E407B #7B591E
analogous
#1E6E7B #1E407B #2B1E7B
triadic
#1E407B #7B1E40 #407B1E
tetradic
#1E407B #7B1E6E #7B591E #1E7B2B
square
#1E407B #7B1E6E #7B591E #1E7B2B
split-complementary
#1E407B #7B2B1E #6E7B1E
monochromatic
#060D19 #12264A #1E407B #2A5AAC #4277D1

Accessibility & contrast

On white

10.12
#1E407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1E407B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E407B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E407B#FFFFFF#000000##FFFFFF
##1E407B1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#0C3E7A
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1e407b;
/* rgb */ color: rgb(30, 64, 123);
/* oklch */ color: oklch(38.0% 0.108 260.6);
Tailwind
colors: {
  custom: {
    50: '#6774a1',
    500: '#1e407b',
    950: '#000000',
  },
}
SCSS
$custom: #1e407b;
$custom-light: #6774a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e407b",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 218.065,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.38046,
    "c": 0.10806,
    "h": 260.6
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#1E407B
secondary
#AE8846
accent
#A944E4
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1E407B

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

Preview Lab → · Contrast checker → · Palette generator →

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