#1E314F#1E314F

#1E314F is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.3% C 0.060 H 259.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#1E314F
RGBrgb(30, 49, 79)
HSLhsl(217, 45%, 21%)
HSVhsv(217, 62%, 31%)
CMYKcmyk(62%, 38%, 0%, 69%)
CIE-LABlab(20.19, 2.80, -20.74)
CIE-LCHlch(20.19, 20.93, 277.68°)
OKLaboklab(31.27% -0.0112 -0.0586)
OKLCHoklch(31.27% 0.06 259.2)
XYZxyz(3.0445, 3.0369, 7.8214)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E314F #4F3C1E
analogous
#1E4A4F #1E314F #241E4F
triadic
#1E314F #4F1E31 #314F1E
tetradic
#1E314F #4F1E4A #4F3C1E #1E4F24
square
#1E314F #4F1E4A #4F3C1E #1E4F24
split-complementary
#1E314F #4F241E #4A4F1E
monochromatic
#080E16 #0D1523 #1E314F #2F4D7B #4068A8

Accessibility & contrast

On white

13.06
#1E314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E314F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E314F#FFFFFF#000000##FFFFFF
##1E314F1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253350
Deuteranopia (green-blind)
#1F2F4E
Tritanopia (blue-blind)
#00383C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e314f;
/* rgb */ color: rgb(30, 49, 79);
/* oklch */ color: oklch(31.3% 0.060 259.2);
Tailwind
colors: {
  custom: {
    50: '#5e6880',
    500: '#1e314f',
    950: '#000000',
  },
}
SCSS
$custom: #1e314f;
$custom-light: #5e6880;
$custom-dark: #000000;
JSON
{
  "hex": "#1e314f",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 216.735,
    "s": 44.954,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31274,
    "c": 0.05966,
    "h": 259.2
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#1E314F
secondary
#846B45
accent
#A253D5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #1E314F

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

Preview Lab → · Contrast checker → · Palette generator →

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