#1E4F7B#1E4F7B

#1E4F7B is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.090 H 248.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#1E4F7B
RGBrgb(30, 79, 123)
HSLhsl(208, 61%, 30%)
HSVhsv(208, 76%, 48%)
CMYKcmyk(75.6%, 35.8%, 0%, 51.8%)
CIE-LABlab(32.47, -0.31, -29.69)
CIE-LCHlch(32.47, 29.70, 269.40°)
OKLaboklab(41.71% -0.0326 -0.0843)
OKLCHoklch(41.71% 0.09 248.8)
XYZxyz(6.9052, 7.2973, 19.7796)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F7B #7B4A1E
analogous
#1E7B78 #1E4F7B #1E217B
triadic
#1E4F7B #7B1E4F #4F7B1E
tetradic
#1E4F7B #781E7B #7B4A1E #217B1E
square
#1E4F7B #781E7B #7B4A1E #217B1E
split-complementary
#1E4F7B #7B1E21 #7B781E
monochromatic
#061019 #122F4A #1E4F7B #2A6FAC #428ED1

Accessibility & contrast

On white

8.54
#1E4F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4F7B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F7B#FFFFFF#000000##FFFFFF
##1E4F7B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#2E487A
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4f7b;
/* rgb */ color: rgb(30, 79, 123);
/* oklch */ color: oklch(41.7% 0.090 248.8);
Tailwind
colors: {
  custom: {
    50: '#6780a1',
    500: '#1e4f7b',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f7b;
$custom-light: #6780a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f7b",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 208.387,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.41705,
    "c": 0.09043,
    "h": 248.8
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#1E4F7B
secondary
#AE7846
accent
#9044E4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1E4F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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