#1E4F9B#1E4F9B

#1E4F9B is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.135 H 259.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#1E4F9B
RGBrgb(30, 79, 155)
HSLhsl(216, 68%, 36%)
HSVhsv(216, 81%, 61%)
CMYKcmyk(80.6%, 49%, 0%, 39.2%)
CIE-LABlab(34.46, 12.43, -46.11)
CIE-LCHlch(34.46, 47.76, 285.09°)
OKLaboklab(43.9% -0.0253 -0.1325)
OKLCHoklch(43.9% 0.135 259.2)
XYZxyz(9.2456, 8.2334, 32.1059)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F9B #9B6A1E
analogous
#1E8E9B #1E4F9B #2C1E9B
triadic
#1E4F9B #9B1E4F #4F9B1E
tetradic
#1E4F9B #9B1E8E #9B6A1E #1E9B2C
square
#1E4F9B #9B1E8E #9B6A1E #1E9B2C
split-complementary
#1E4F9B #9B2C1E #8E9B1E
monochromatic
#0A1B34 #143568 #1E4F9B #2869CE #558BDE

Accessibility & contrast

On white

7.93
#1E4F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1E4F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F9B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F9B#FFFFFF#000000##FFFFFF
##1E4F9B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1e4f9b;
/* rgb */ color: rgb(30, 79, 155);
/* oklch */ color: oklch(43.9% 0.135 259.2);
Tailwind
colors: {
  custom: {
    50: '#6e7fb9',
    500: '#1e4f9b',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f9b;
$custom-light: #6e7fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f9b",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 155
  },
  "hsl": {
    "h": 216.48,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43895,
    "c": 0.13494,
    "h": 259.2
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#1E4F9B
secondary
#C29653
accent
#A73DEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1E4F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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