#1E4F9F#1E4F9F

#1E4F9F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.141 H 259.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#1E4F9F
RGBrgb(30, 79, 159)
HSLhsl(217, 68%, 37%)
HSVhsv(217, 81%, 62%)
CMYKcmyk(81.1%, 50.3%, 0%, 37.6%)
CIE-LABlab(34.74, 14.03, -48.07)
CIE-LCHlch(34.74, 50.08, 286.27°)
OKLaboklab(44.2% -0.0247 -0.1383)
OKLCHoklch(44.2% 0.141 259.9)
XYZxyz(9.5871, 8.3700, 33.9045)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F9F #9F6E1E
analogous
#1E909F #1E4F9F #2D1E9F
triadic
#1E4F9F #9F1E4F #4F9F1E
tetradic
#1E4F9F #9F1E90 #9F6E1E #1E9F2D
square
#1E4F9F #9F1E90 #9F6E1E #1E9F2D
split-complementary
#1E4F9F #9F2D1E #909F1E
monochromatic
#0B1C38 #14356C #1E4F9F #2869D2 #588BDF

Accessibility & contrast

On white

7.85
#1E4F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1E4F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F9F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F9F#FFFFFF#000000##FFFFFF
##1E4F9F1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1e4f9f;
/* rgb */ color: rgb(30, 79, 159);
/* oklch */ color: oklch(44.2% 0.141 259.9);
Tailwind
colors: {
  custom: {
    50: '#6f7fbc',
    500: '#1e4f9f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f9f;
$custom-light: #6f7fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f9f",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 217.209,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44196,
    "c": 0.14051,
    "h": 259.9
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#1E4F9F
secondary
#C39A56
accent
#A93DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E4F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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