#1E2F80#1E2F80

#1E2F80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.138 H 268.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#1E2F80
RGBrgb(30, 47, 128)
HSLhsl(230, 62%, 31%)
HSVhsv(230, 77%, 50%)
CMYKcmyk(76.6%, 63.3%, 0%, 49.8%)
CIE-LABlab(23.23, 23.69, -47.70)
CIE-LCHlch(23.23, 53.25, 296.41°)
OKLaboklab(34.73% -0.0028 -0.1378)
OKLCHoklch(34.73% 0.138 268.8)
XYZxyz(5.4469, 3.8670, 20.8772)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F80 #806F1E
analogous
#1E6080 #1E2F80 #3E1E80
triadic
#1E2F80 #801E2F #2F801E
tetradic
#1E2F80 #801E60 #806F1E #1E803E
square
#1E2F80 #801E60 #806F1E #1E803E
split-complementary
#1E2F80 #803E1E #60801E
monochromatic
#070B1D #121D4E #1E2F80 #2A41B2 #455ED3

Accessibility & contrast

On white

11.84
#1E2F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E2F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F80
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F80#FFFFFF#000000##FFFFFF
##1E2F801.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2f80;
/* rgb */ color: rgb(30, 47, 128);
/* oklch */ color: oklch(34.7% 0.138 268.8);
Tailwind
colors: {
  custom: {
    50: '#6a67a6',
    500: '#1e2f80',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f80;
$custom-light: #6a67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f80",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 229.592,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34734,
    "c": 0.13781,
    "h": 268.8
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#1E2F80
secondary
#B3A047
accent
#C943E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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