#1E2875#1E2875

#1E2875 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.131 H 271.2°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#1E2875
RGBrgb(30, 40, 117)
HSLhsl(233, 59%, 29%)
HSVhsv(233, 74%, 46%)
CMYKcmyk(74.4%, 65.8%, 0%, 54.1%)
CIE-LABlab(20.35, 24.25, -45.40)
CIE-LCHlch(20.35, 51.47, 298.10°)
OKLaboklab(32.3% 0.0027 -0.1311)
OKLCHoklch(32.3% 0.131 271.2)
XYZxyz(4.5040, 3.0775, 17.1828)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2875 #756B1E
analogous
#1E5475 #1E2875 #401E75
triadic
#1E2875 #751E28 #28751E
tetradic
#1E2875 #751E54 #756B1E #1E7540
square
#1E2875 #751E54 #756B1E #1E7540
split-complementary
#1E2875 #75401E #54751E
monochromatic
#060818 #121744 #1E2875 #2A39A6 #4050CE

Accessibility & contrast

On white

13.00
#1E2875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2875
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2875#FFFFFF#000000##FFFFFF
##1E28751.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2875;
/* rgb */ color: rgb(30, 40, 117);
/* oklch */ color: oklch(32.3% 0.131 271.2);
Tailwind
colors: {
  custom: {
    50: '#67629e',
    500: '#1e2875',
    950: '#000000',
  },
}
SCSS
$custom: #1e2875;
$custom-light: #67629e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2875",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 233.103,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32302,
    "c": 0.13116,
    "h": 271.2
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#1E2875
secondary
#A99D46
accent
#D045E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2875

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

Preview Lab → · Contrast checker → · Palette generator →

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