#1E2F89#1E2F89

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

Color values

HEX#1E2F89
RGBrgb(30, 47, 137)
HSLhsl(230, 64%, 33%)
HSVhsv(230, 78%, 54%)
CMYKcmyk(78.1%, 65.7%, 0%, 46.3%)
CIE-LABlab(24.05, 27.20, -52.00)
CIE-LCHlch(24.05, 58.68, 297.61°)
OKLaboklab(35.59% -0.0031 -0.1504)
OKLCHoklch(35.59% 0.15 268.8)
XYZxyz(6.0657, 4.1145, 24.1366)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F89 #89781E
analogous
#1E6589 #1E2F89 #421E89
triadic
#1E2F89 #891E2F #2F891E
tetradic
#1E2F89 #891E65 #89781E #1E8942
square
#1E2F89 #891E65 #89781E #1E8942
split-complementary
#1E2F89 #89421E #65891E
monochromatic
#080D25 #131E57 #1E2F89 #2940BB #4A60D7

Accessibility & contrast

On white

11.52
#1E2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1E2F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F89
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F89#FFFFFF#000000##FFFFFF
##1E2F891.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2f89;
/* rgb */ color: rgb(30, 47, 137);
/* oklch */ color: oklch(35.6% 0.150 268.8);
Tailwind
colors: {
  custom: {
    50: '#6c67ac',
    500: '#1e2f89',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f89;
$custom-light: #6c67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f89",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 230.467,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35592,
    "c": 0.15041,
    "h": 268.8
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#1E2F89
secondary
#BAA849
accent
#CD41E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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