#1E4E7C#1E4E7C

#1E4E7C is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.093 H 250.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#1E4E7C
RGBrgb(30, 78, 124)
HSLhsl(209, 61%, 30%)
HSVhsv(209, 76%, 49%)
CMYKcmyk(75.8%, 37.1%, 0%, 51.4%)
CIE-LABlab(32.21, 0.74, -30.73)
CIE-LCHlch(32.21, 30.74, 271.37°)
OKLaboklab(41.52% -0.0313 -0.0874)
OKLCHoklch(41.52% 0.093 250.3)
XYZxyz(6.8965, 7.1793, 20.0871)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E7C #7C4C1E
analogous
#1E7C7B #1E4E7C #1E1F7C
triadic
#1E4E7C #7C1E4E #4E7C1E
tetradic
#1E4E7C #7B1E7C #7C4C1E #1F7C1E
square
#1E4E7C #7B1E7C #7C4C1E #1F7C1E
split-complementary
#1E4E7C #7C1E1F #7C7B1E
monochromatic
#061019 #122F4B #1E4E7C #2A6DAD #438CD1

Accessibility & contrast

On white

8.62
#1E4E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1E4E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E7C
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E7C#FFFFFF#000000##FFFFFF
##1E4E7C1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517E
Deuteranopia (green-blind)
#2B487B
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4e7c;
/* rgb */ color: rgb(30, 78, 124);
/* oklch */ color: oklch(41.5% 0.093 250.3);
Tailwind
colors: {
  custom: {
    50: '#677fa2',
    500: '#1e4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e7c;
$custom-light: #677fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e7c",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 209.362,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41517,
    "c": 0.09283,
    "h": 250.3
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#1E4E7C
secondary
#AF7A46
accent
#9244E4
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1E4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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