#1E4D8E#1E4D8E

#1E4D8E is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.5% C 0.119 H 257.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#1E4D8E
RGBrgb(30, 77, 142)
HSLhsl(215, 65%, 34%)
HSVhsv(215, 79%, 56%)
CMYKcmyk(78.9%, 45.8%, 0%, 44.3%)
CIE-LABlab(33.00, 8.57, -40.57)
CIE-LCHlch(33.00, 41.47, 281.92°)
OKLaboklab(42.48% -0.026 -0.1163)
OKLCHoklch(42.48% 0.119 257.4)
XYZxyz(8.0700, 7.5358, 26.6152)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D8E #8E5F1E
analogous
#1E858E #1E4D8E #271E8E
triadic
#1E4D8E #8E1E4D #4D8E1E
tetradic
#1E4D8E #8E1E85 #8E5F1E #1E8E27
square
#1E4D8E #8E1E85 #8E5F1E #1E8E27
split-complementary
#1E4D8E #8E271E #858E1E
monochromatic
#091629 #13325B #1E4D8E #2968C1 #4D88D9

Accessibility & contrast

On white

8.38
#1E4D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1E4D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D8E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D8E#FFFFFF#000000##FFFFFF
##1E4D8E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#14498D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4d8e;
/* rgb */ color: rgb(30, 77, 142);
/* oklch */ color: oklch(42.5% 0.119 257.4);
Tailwind
colors: {
  custom: {
    50: '#6b7eaf',
    500: '#1e4d8e',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d8e;
$custom-light: #6b7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d8e",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 214.821,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42484,
    "c": 0.11916,
    "h": 257.4
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#1E4D8E
secondary
#BC8D4C
accent
#A140E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E4D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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