#1E2F88#1E2F88

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

Color values

HEX#1E2F88
RGBrgb(30, 47, 136)
HSLhsl(230, 64%, 33%)
HSVhsv(230, 78%, 53%)
CMYKcmyk(77.9%, 65.4%, 0%, 46.7%)
CIE-LABlab(23.95, 26.81, -51.52)
CIE-LCHlch(23.95, 58.08, 297.49°)
OKLaboklab(35.49% -0.003 -0.149)
OKLCHoklch(35.49% 0.149 268.8)
XYZxyz(5.9943, 4.0860, 23.7605)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F88 #88771E
analogous
#1E6488 #1E2F88 #421E88
triadic
#1E2F88 #881E2F #2F881E
tetradic
#1E2F88 #881E64 #88771E #1E8842
square
#1E2F88 #881E64 #88771E #1E8842
split-complementary
#1E2F88 #88421E #64881E
monochromatic
#080C24 #131E56 #1E2F88 #2940BA #4960D7

Accessibility & contrast

On white

11.55
#1E2F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2F88
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F88#FFFFFF#000000##FFFFFF
##1E2F881.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2f88;
/* rgb */ color: rgb(30, 47, 136);
/* oklch */ color: oklch(35.5% 0.149 268.8);
Tailwind
colors: {
  custom: {
    50: '#6c67ac',
    500: '#1e2f88',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f88;
$custom-light: #6c67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f88",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 230.377,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35495,
    "c": 0.14903,
    "h": 268.8
  },
  "luminance": 0.04087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2F88

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

Preview Lab → · Contrast checker → · Palette generator →

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