#1E258B#1E258B

#1E258B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.165 H 270.8°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1E258B
RGBrgb(30, 37, 139)
HSLhsl(236, 64%, 33%)
HSVhsv(236, 78%, 55%)
CMYKcmyk(78.4%, 73.4%, 0%, 45.5%)
CIE-LABlab(21.81, 34.51, -56.92)
CIE-LCHlch(21.81, 66.56, 301.23°)
OKLaboklab(34.03% 0.0024 -0.1648)
OKLCHoklch(34.03% 0.165 270.8)
XYZxyz(5.8556, 3.4626, 24.7808)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E258B #8B841E
analogous
#1E5B8B #1E258B #4D1E8B
triadic
#1E258B #8B1E25 #258B1E
tetradic
#1E258B #8B1E5B #8B841E #1E8B4D
square
#1E258B #8B1E5B #8B841E #1E8B4D
split-complementary
#1E258B #8B4D1E #5B8B1E
monochromatic
#080A26 #131859 #1E258B #2932BD #4B54D8

Accessibility & contrast

On white

12.41
#1E258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E258B
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E258B#FFFFFF#000000##FFFFFF
##1E258B1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#002F89
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e258b;
/* rgb */ color: rgb(30, 37, 139);
/* oklch */ color: oklch(34.0% 0.165 270.8);
Tailwind
colors: {
  custom: {
    50: '#6e60ae',
    500: '#1e258b',
    950: '#000000',
  },
}
SCSS
$custom: #1e258b;
$custom-light: #6e60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e258b",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 236.147,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34027,
    "c": 0.16482,
    "h": 270.8
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#1E258B
secondary
#BBB34A
accent
#DD40E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E258B

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

Preview Lab → · Contrast checker → · Palette generator →

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