#1E258D#1E258D

#1E258D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.167 H 270.7°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#1E258D
RGBrgb(30, 37, 141)
HSLhsl(236, 65%, 34%)
HSVhsv(236, 79%, 55%)
CMYKcmyk(78.7%, 73.8%, 0%, 44.7%)
CIE-LABlab(22.02, 35.23, -57.82)
CIE-LCHlch(22.02, 67.70, 301.36°)
OKLaboklab(34.24% 0.0021 -0.1674)
OKLCHoklch(34.24% 0.167 270.7)
XYZxyz(6.0031, 3.5216, 25.5575)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E258D #8D861E
analogous
#1E5C8D #1E258D #4E1E8D
triadic
#1E258D #8D1E25 #258D1E
tetradic
#1E258D #8D1E5C #8D861E #1E8D4E
square
#1E258D #8D1E5C #8D861E #1E8D4E
split-complementary
#1E258D #8D4E1E #5C8D1E
monochromatic
#090B28 #13185B #1E258D #2932BF #4C55D9

Accessibility & contrast

On white

12.32
#1E258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E258D
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E258D#FFFFFF#000000##FFFFFF
##1E258D1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e258d;
/* rgb */ color: rgb(30, 37, 141);
/* oklch */ color: oklch(34.2% 0.167 270.7);
Tailwind
colors: {
  custom: {
    50: '#6e60af',
    500: '#1e258d',
    950: '#000000',
  },
}
SCSS
$custom: #1e258d;
$custom-light: #6e60af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e258d",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 236.216,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34244,
    "c": 0.16741,
    "h": 270.7
  },
  "luminance": 0.03522
}

Semantic roles & 50–950 ramp

primary
#1E258D
secondary
#BCB44B
accent
#DD40E8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1E258D

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

Preview Lab → · Contrast checker → · Palette generator →

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