#1E4C8A#1E4C8A

#1E4C8A is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.0% C 0.115 H 257.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#1E4C8A
RGBrgb(30, 76, 138)
HSLhsl(214, 64%, 33%)
HSVhsv(214, 78%, 54%)
CMYKcmyk(78.3%, 44.9%, 0%, 45.9%)
CIE-LABlab(32.43, 7.63, -39.02)
CIE-LCHlch(32.43, 39.76, 281.07°)
OKLaboklab(41.97% -0.0259 -0.1118)
OKLCHoklch(41.97% 0.115 257)
XYZxyz(7.7056, 7.2790, 25.0387)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C8A #8A5C1E
analogous
#1E828A #1E4C8A #261E8A
triadic
#1E4C8A #8A1E4C #4C8A1E
tetradic
#1E4C8A #8A1E82 #8A5C1E #1E8A26
square
#1E4C8A #8A1E82 #8A5C1E #1E8A26
split-complementary
#1E4C8A #8A261E #828A1E
monochromatic
#081525 #133058 #1E4C8A #2968BC #4B87D8

Accessibility & contrast

On white

8.55
#1E4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1E4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C8A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C8A#FFFFFF#000000##FFFFFF
##1E4C8A1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528C
Deuteranopia (green-blind)
#184889
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4c8a;
/* rgb */ color: rgb(30, 76, 138);
/* oklch */ color: oklch(42.0% 0.115 257.0);
Tailwind
colors: {
  custom: {
    50: '#6b7dac',
    500: '#1e4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c8a;
$custom-light: #6b7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c8a",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 214.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41965,
    "c": 0.11472,
    "h": 257
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#1E4C8A
secondary
#BA8A4A
accent
#A041E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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