#1E2F78#1E2F78

#1E2F78 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.126 H 268.7°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#1E2F78
RGBrgb(30, 47, 120)
HSLhsl(229, 60%, 29%)
HSVhsv(229, 75%, 47%)
CMYKcmyk(75%, 60.8%, 0%, 52.9%)
CIE-LABlab(22.53, 20.53, -43.77)
CIE-LCHlch(22.53, 48.34, 295.13°)
OKLaboklab(34% -0.0028 -0.1262)
OKLCHoklch(34% 0.126 268.7)
XYZxyz(4.9409, 3.6646, 18.2126)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F78 #78671E
analogous
#1E5C78 #1E2F78 #3A1E78
triadic
#1E2F78 #781E2F #2F781E
tetradic
#1E2F78 #781E5C #78671E #1E783A
square
#1E2F78 #781E5C #78671E #1E783A
split-complementary
#1E2F78 #783A1E #5C781E
monochromatic
#060A18 #121C47 #1E2F78 #2A42A9 #415CCF

Accessibility & contrast

On white

12.12
#1E2F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E2F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F78
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F78#FFFFFF#000000##FFFFFF
##1E2F781.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2f78;
/* rgb */ color: rgb(30, 47, 120);
/* oklch */ color: oklch(34.0% 0.126 268.7);
Tailwind
colors: {
  custom: {
    50: '#6867a0',
    500: '#1e2f78',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f78;
$custom-light: #6867a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f78",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 228.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33999,
    "c": 0.12627,
    "h": 268.7
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#1E2F78
secondary
#AC9846
accent
#C545E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1E2F78

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

Preview Lab → · Contrast checker → · Palette generator →

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