#1E4F7C#1E4F7C

#1E4F7C is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.092 H 249.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#1E4F7C
RGBrgb(30, 79, 124)
HSLhsl(209, 61%, 30%)
HSVhsv(209, 76%, 49%)
CMYKcmyk(75.8%, 36.3%, 0%, 51.4%)
CIE-LABlab(32.53, 0.08, -30.23)
CIE-LCHlch(32.53, 30.23, 270.16°)
OKLaboklab(41.77% -0.0323 -0.0859)
OKLCHoklch(41.77% 0.092 249.4)
XYZxyz(6.9681, 7.3224, 20.1110)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F7C #7C4B1E
analogous
#1E7C7A #1E4F7C #1E207C
triadic
#1E4F7C #7C1E4F #4F7C1E
tetradic
#1E4F7C #7A1E7C #7C4B1E #207C1E
square
#1E4F7C #7A1E7C #7C4B1E #207C1E
split-complementary
#1E4F7C #7C1E20 #7C7A1E
monochromatic
#061019 #12304B #1E4F7C #2A6EAD #438DD1

Accessibility & contrast

On white

8.52
#1E4F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4F7C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F7C#FFFFFF#000000##FFFFFF
##1E4F7C1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#2D497B
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4f7c;
/* rgb */ color: rgb(30, 79, 124);
/* oklch */ color: oklch(41.8% 0.092 249.4);
Tailwind
colors: {
  custom: {
    50: '#6780a2',
    500: '#1e4f7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f7c;
$custom-light: #6780a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f7c",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 208.723,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41767,
    "c": 0.09178,
    "h": 249.4
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#1E4F7C
secondary
#AF7946
accent
#9044E4
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1E4F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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