#1E4A7B#1E4A7B

#1E4A7B is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.096 H 253.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#1E4A7B
RGBrgb(30, 74, 123)
HSLhsl(212, 61%, 30%)
HSVhsv(212, 76%, 48%)
CMYKcmyk(75.6%, 39.8%, 0%, 51.8%)
CIE-LABlab(30.89, 2.98, -32.21)
CIE-LCHlch(30.89, 32.35, 275.29°)
OKLaboklab(40.46% -0.0275 -0.0918)
OKLCHoklch(40.46% 0.096 253.3)
XYZxyz(6.5580, 6.6029, 19.6639)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A7B #7B4F1E
analogous
#1E787B #1E4A7B #211E7B
triadic
#1E4A7B #7B1E4A #4A7B1E
tetradic
#1E4A7B #7B1E78 #7B4F1E #1E7B21
square
#1E4A7B #7B1E78 #7B4F1E #1E7B21
split-complementary
#1E4A7B #7B211E #787B1E
monochromatic
#060F19 #122C4A #1E4A7B #2A68AC #4286D1

Accessibility & contrast

On white

9.05
#1E4A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1E4A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A7B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A7B#FFFFFF#000000##FFFFFF
##1E4A7B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7D
Deuteranopia (green-blind)
#25457A
Tritanopia (blue-blind)
#00565C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e4a7b;
/* rgb */ color: rgb(30, 74, 123);
/* oklch */ color: oklch(40.5% 0.096 253.3);
Tailwind
colors: {
  custom: {
    50: '#677ca1',
    500: '#1e4a7b',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a7b;
$custom-light: #677ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a7b",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 211.613,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.40461,
    "c": 0.09582,
    "h": 253.3
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#1E4A7B
secondary
#AE7D46
accent
#9844E4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #1E4A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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