#1E2F87#1E2F87

#1E2F87 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.148 H 268.8°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#1E2F87
RGBrgb(30, 47, 135)
HSLhsl(230, 64%, 32%)
HSVhsv(230, 78%, 53%)
CMYKcmyk(77.8%, 65.2%, 0%, 47.1%)
CIE-LABlab(23.86, 26.42, -51.05)
CIE-LCHlch(23.86, 57.48, 297.36°)
OKLaboklab(35.4% -0.003 -0.1476)
OKLCHoklch(35.4% 0.148 268.8)
XYZxyz(5.9236, 4.0577, 23.3880)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F87 #87761E
analogous
#1E6387 #1E2F87 #421E87
triadic
#1E2F87 #871E2F #2F871E
tetradic
#1E2F87 #871E63 #87761E #1E8742
square
#1E2F87 #871E63 #87761E #1E8742
split-complementary
#1E2F87 #87421E #63871E
monochromatic
#080C23 #131E55 #1E2F87 #2940B9 #4960D7

Accessibility & contrast

On white

11.59
#1E2F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E2F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F87
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F87#FFFFFF#000000##FFFFFF
##1E2F871.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2f87;
/* rgb */ color: rgb(30, 47, 135);
/* oklch */ color: oklch(35.4% 0.148 268.8);
Tailwind
colors: {
  custom: {
    50: '#6c67ab',
    500: '#1e2f87',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f87;
$custom-light: #6c67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f87",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 230.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35399,
    "c": 0.14764,
    "h": 268.8
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#1E2F87
secondary
#B9A748
accent
#CC41E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E2F87

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

Preview Lab → · Contrast checker → · Palette generator →

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