#1E4C8C#1E4C8C

#1E4C8C is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.1% C 0.118 H 257.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#1E4C8C
RGBrgb(30, 76, 140)
HSLhsl(215, 65%, 33%)
HSVhsv(215, 79%, 55%)
CMYKcmyk(78.6%, 45.7%, 0%, 45.1%)
CIE-LABlab(32.56, 8.44, -40.04)
CIE-LCHlch(32.56, 40.92, 281.90°)
OKLaboklab(42.11% -0.0255 -0.1148)
OKLCHoklch(42.11% 0.118 257.5)
XYZxyz(7.8517, 7.3374, 25.8083)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C8C #8C5E1E
analogous
#1E838C #1E4C8C #271E8C
triadic
#1E4C8C #8C1E4C #4C8C1E
tetradic
#1E4C8C #8C1E83 #8C5E1E #1E8C27
square
#1E4C8C #8C1E83 #8C5E1E #1E8C27
split-complementary
#1E4C8C #8C271E #838C1E
monochromatic
#081527 #13315A #1E4C8C #2967BE #4C87D9

Accessibility & contrast

On white

8.51
#1E4C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1E4C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C8C
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C8C#FFFFFF#000000##FFFFFF
##1E4C8C1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e4c8c;
/* rgb */ color: rgb(30, 76, 140);
/* oklch */ color: oklch(42.1% 0.118 257.5);
Tailwind
colors: {
  custom: {
    50: '#6b7dae',
    500: '#1e4c8c',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c8c;
$custom-light: #6b7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c8c",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 140
  },
  "hsl": {
    "h": 214.909,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42107,
    "c": 0.11755,
    "h": 257.5
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#1E4C8C
secondary
#BB8C4B
accent
#A240E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E4C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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