#1E258F#1E258F

#1E258F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.170 H 270.6°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1E258F
RGBrgb(30, 37, 143)
HSLhsl(236, 65%, 34%)
HSVhsv(236, 79%, 56%)
CMYKcmyk(79%, 74.1%, 0%, 43.9%)
CIE-LABlab(22.24, 35.95, -58.71)
CIE-LCHlch(22.24, 68.84, 301.48°)
OKLaboklab(34.46% 0.0018 -0.17)
OKLCHoklch(34.46% 0.17 270.6)
XYZxyz(6.1532, 3.5816, 26.3483)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E258F #8F881E
analogous
#1E5E8F #1E258F #501E8F
triadic
#1E258F #8F1E25 #258F1E
tetradic
#1E258F #8F1E5E #8F881E #1E8F50
square
#1E258F #8F1E5E #8F881E #1E8F50
split-complementary
#1E258F #8F501E #5E8F1E
monochromatic
#090B2A #13185C #1E258F #2932C2 #4E56DA

Accessibility & contrast

On white

12.23
#1E258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E258F
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E258F#FFFFFF#000000##FFFFFF
##1E258F1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e258f;
/* rgb */ color: rgb(30, 37, 143);
/* oklch */ color: oklch(34.5% 0.170 270.6);
Tailwind
colors: {
  custom: {
    50: '#6f60b1',
    500: '#1e258f',
    950: '#000000',
  },
}
SCSS
$custom: #1e258f;
$custom-light: #6f60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e258f",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 236.283,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34462,
    "c": 0.17,
    "h": 270.6
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E258F

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

Preview Lab → · Contrast checker → · Palette generator →

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