#1E2576#1E2576

#1E2576 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.136 H 272.1°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#1E2576
RGBrgb(30, 37, 118)
HSLhsl(235, 59%, 29%)
HSVhsv(235, 75%, 46%)
CMYKcmyk(74.6%, 68.6%, 0%, 53.7%)
CIE-LABlab(19.67, 26.69, -47.17)
CIE-LCHlch(19.67, 54.19, 299.50°)
OKLaboklab(31.83% 0.0049 -0.1363)
OKLCHoklch(31.83% 0.136 272.1)
XYZxyz(4.4659, 2.9067, 17.4617)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2576 #766F1E
analogous
#1E5176 #1E2576 #431E76
triadic
#1E2576 #761E25 #25761E
tetradic
#1E2576 #761E51 #766F1E #1E7643
square
#1E2576 #761E51 #766F1E #1E7643
split-complementary
#1E2576 #76431E #51761E
monochromatic
#060818 #121645 #1E2576 #2A34A7 #404BCE

Accessibility & contrast

On white

13.28
#1E2576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E2576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2576
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2576#FFFFFF#000000##FFFFFF
##1E25761.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2576;
/* rgb */ color: rgb(30, 37, 118);
/* oklch */ color: oklch(31.8% 0.136 272.1);
Tailwind
colors: {
  custom: {
    50: '#685f9e',
    500: '#1e2576',
    950: '#000000',
  },
}
SCSS
$custom: #1e2576;
$custom-light: #685f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2576",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 235.227,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3183,
    "c": 0.13641,
    "h": 272.1
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#1E2576
secondary
#AAA246
accent
#D645E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2576

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

Preview Lab → · Contrast checker → · Palette generator →

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