#1E4F8B#1E4F8B

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

Color values

HEX#1E4F8B
RGBrgb(30, 79, 139)
HSLhsl(213, 64%, 33%)
HSVhsv(213, 78%, 55%)
CMYKcmyk(78.4%, 43.2%, 0%, 45.5%)
CIE-LABlab(33.42, 6.03, -38.07)
CIE-LCHlch(33.42, 38.54, 279.00°)
OKLaboklab(42.75% -0.0284 -0.1089)
OKLCHoklch(42.75% 0.113 255.4)
XYZxyz(7.9899, 7.7311, 25.4923)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F8B #8B5A1E
analogous
#1E858B #1E4F8B #241E8B
triadic
#1E4F8B #8B1E4F #4F8B1E
tetradic
#1E4F8B #8B1E85 #8B5A1E #1E8B24
square
#1E4F8B #8B1E85 #8B5A1E #1E8B24
split-complementary
#1E4F8B #8B241E #858B1E
monochromatic
#081626 #133259 #1E4F8B #296CBD #4B8BD8

Accessibility & contrast

On white

8.25
#1E4F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1E4F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F8B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F8B#FFFFFF#000000##FFFFFF
##1E4F8B1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#1E4A8A
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4f8b;
/* rgb */ color: rgb(30, 79, 139);
/* oklch */ color: oklch(42.7% 0.113 255.4);
Tailwind
colors: {
  custom: {
    50: '#6b7fad',
    500: '#1e4f8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f8b;
$custom-light: #6b7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f8b",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 213.028,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42748,
    "c": 0.11253,
    "h": 255.4
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#1E4F8B
secondary
#BB884A
accent
#9C40E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1E4F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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