#1E2575#1E2575

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

Color values

HEX#1E2575
RGBrgb(30, 37, 117)
HSLhsl(235, 59%, 29%)
HSVhsv(235, 74%, 46%)
CMYKcmyk(74.4%, 68.4%, 0%, 54.1%)
CIE-LABlab(19.57, 26.31, -46.68)
CIE-LCHlch(19.57, 53.59, 299.40°)
OKLaboklab(31.73% 0.005 -0.1349)
OKLCHoklch(31.73% 0.135 272.1)
XYZxyz(4.4068, 2.8831, 17.1504)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2575 #756E1E
analogous
#1E5175 #1E2575 #431E75
triadic
#1E2575 #751E25 #25751E
tetradic
#1E2575 #751E51 #756E1E #1E7543
square
#1E2575 #751E51 #756E1E #1E7543
split-complementary
#1E2575 #75431E #51751E
monochromatic
#060818 #121644 #1E2575 #2A34A6 #404BCE

Accessibility & contrast

On white

13.32
#1E2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2575
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2575#FFFFFF#000000##FFFFFF
##1E25751.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e2575;
/* rgb */ color: rgb(30, 37, 117);
/* oklch */ color: oklch(31.7% 0.135 272.1);
Tailwind
colors: {
  custom: {
    50: '#685f9e',
    500: '#1e2575',
    950: '#000000',
  },
}
SCSS
$custom: #1e2575;
$custom-light: #685f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2575",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 235.172,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31729,
    "c": 0.13499,
    "h": 272.1
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#1E2575
secondary
#A9A146
accent
#D645E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2575

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

Preview Lab → · Contrast checker → · Palette generator →

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