#1E2E8A#1E2E8A

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

Color values

HEX#1E2E8A
RGBrgb(30, 46, 138)
HSLhsl(231, 64%, 33%)
HSVhsv(231, 78%, 54%)
CMYKcmyk(78.3%, 66.7%, 0%, 45.9%)
CIE-LABlab(23.88, 28.26, -52.89)
CIE-LCHlch(23.88, 59.96, 298.12°)
OKLaboklab(35.5% -0.0025 -0.153)
OKLCHoklch(35.5% 0.153 269.1)
XYZxyz(6.0983, 4.0643, 24.5029)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E8A #8A7A1E
analogous
#1E648A #1E2E8A #441E8A
triadic
#1E2E8A #8A1E2E #2E8A1E
tetradic
#1E2E8A #8A1E64 #8A7A1E #1E8A44
square
#1E2E8A #8A1E64 #8A7A1E #1E8A44
split-complementary
#1E2E8A #8A441E #648A1E
monochromatic
#080C25 #131D58 #1E2E8A #293FBC #4B60D8

Accessibility & contrast

On white

11.58
#1E2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2E8A
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E8A#FFFFFF#000000##FFFFFF
##1E2E8A1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2e8a;
/* rgb */ color: rgb(30, 46, 138);
/* oklch */ color: oklch(35.5% 0.153 269.1);
Tailwind
colors: {
  custom: {
    50: '#6c66ad',
    500: '#1e2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e8a;
$custom-light: #6c66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e8a",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 231.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35501,
    "c": 0.15302,
    "h": 269.1
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#1E2E8A
secondary
#BAAA4A
accent
#CF41E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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