#1E258E#1E258E

#1E258E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.169 H 270.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#1E258E
RGBrgb(30, 37, 142)
HSLhsl(236, 65%, 34%)
HSVhsv(236, 79%, 56%)
CMYKcmyk(78.9%, 73.9%, 0%, 44.3%)
CIE-LABlab(22.13, 35.59, -58.26)
CIE-LCHlch(22.13, 68.27, 301.42°)
OKLaboklab(34.35% 0.002 -0.1687)
OKLCHoklch(34.35% 0.169 270.7)
XYZxyz(6.0778, 3.5515, 25.9511)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E258E #8E871E
analogous
#1E5D8E #1E258E #4F1E8E
triadic
#1E258E #8E1E25 #258E1E
tetradic
#1E258E #8E1E5D #8E871E #1E8E4F
square
#1E258E #8E1E5D #8E871E #1E8E4F
split-complementary
#1E258E #8E4F1E #5D8E1E
monochromatic
#090B29 #13185B #1E258E #2932C1 #4D56D9

Accessibility & contrast

On white

12.28
#1E258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E258E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E258E#FFFFFF#000000##FFFFFF
##1E258E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e258e;
/* rgb */ color: rgb(30, 37, 142);
/* oklch */ color: oklch(34.4% 0.169 270.7);
Tailwind
colors: {
  custom: {
    50: '#6e60b0',
    500: '#1e258e',
    950: '#000000',
  },
}
SCSS
$custom: #1e258e;
$custom-light: #6e60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e258e",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 236.25,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34352,
    "c": 0.16871,
    "h": 270.7
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#1E258E
secondary
#BCB54C
accent
#DE40E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E258E

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

Preview Lab → · Contrast checker → · Palette generator →

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