#1E4E8B#1E4E8B

#1E4E8B is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.114 H 256.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#1E4E8B
RGBrgb(30, 78, 139)
HSLhsl(214, 64%, 33%)
HSVhsv(214, 78%, 55%)
CMYKcmyk(78.4%, 43.9%, 0%, 45.5%)
CIE-LABlab(33.11, 6.69, -38.56)
CIE-LCHlch(33.11, 39.13, 279.85°)
OKLaboklab(42.51% -0.0275 -0.1103)
OKLCHoklch(42.51% 0.114 256)
XYZxyz(7.9183, 7.5880, 25.4684)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E8B #8B5B1E
analogous
#1E848B #1E4E8B #241E8B
triadic
#1E4E8B #8B1E4E #4E8B1E
tetradic
#1E4E8B #8B1E84 #8B5B1E #1E8B24
square
#1E4E8B #8B1E84 #8B5B1E #1E8B24
split-complementary
#1E4E8B #8B241E #848B1E
monochromatic
#081626 #133259 #1E4E8B #296ABD #4B89D8

Accessibility & contrast

On white

8.34
#1E4E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1E4E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E8B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E8B#FFFFFF#000000##FFFFFF
##1E4E8B1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#1C498A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4e8b;
/* rgb */ color: rgb(30, 78, 139);
/* oklch */ color: oklch(42.5% 0.114 256.0);
Tailwind
colors: {
  custom: {
    50: '#6b7fad',
    500: '#1e4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e8b;
$custom-light: #6b7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e8b",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 213.578,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.11372,
    "h": 256
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#1E4E8B
secondary
#BB894A
accent
#9E40E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1E4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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