#1E4F8A#1E4F8A

#1E4F8A is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.111 H 255.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#1E4F8A
RGBrgb(30, 79, 138)
HSLhsl(213, 64%, 33%)
HSVhsv(213, 78%, 54%)
CMYKcmyk(78.3%, 42.8%, 0%, 45.9%)
CIE-LABlab(33.35, 5.63, -37.55)
CIE-LCHlch(33.35, 37.97, 278.52°)
OKLaboklab(42.68% -0.0286 -0.1074)
OKLCHoklch(42.68% 0.111 255.1)
XYZxyz(7.9171, 7.7020, 25.1092)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F8A #8A591E
analogous
#1E858A #1E4F8A #231E8A
triadic
#1E4F8A #8A1E4F #4F8A1E
tetradic
#1E4F8A #8A1E85 #8A591E #1E8A23
square
#1E4F8A #8A1E85 #8A591E #1E8A23
split-complementary
#1E4F8A #8A231E #858A1E
monochromatic
#081525 #133258 #1E4F8A #296CBC #4B8BD8

Accessibility & contrast

On white

8.27
#1E4F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1E4F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F8A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F8A#FFFFFF#000000##FFFFFF
##1E4F8A1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#204A89
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4f8a;
/* rgb */ color: rgb(30, 79, 138);
/* oklch */ color: oklch(42.7% 0.111 255.1);
Tailwind
colors: {
  custom: {
    50: '#6a7fac',
    500: '#1e4f8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f8a;
$custom-light: #6a7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f8a",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 212.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4268,
    "c": 0.11114,
    "h": 255.1
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#1E4F8A
secondary
#BA874A
accent
#9C41E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1E4F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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