#1E257D#1E257D

#1E257D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.146 H 271.6°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#1E257D
RGBrgb(30, 37, 125)
HSLhsl(236, 61%, 30%)
HSVhsv(236, 76%, 49%)
CMYKcmyk(76%, 70.4%, 0%, 51%)
CIE-LABlab(20.36, 29.34, -50.50)
CIE-LCHlch(20.36, 58.40, 300.16°)
OKLaboklab(32.54% 0.0042 -0.1461)
OKLCHoklch(32.54% 0.146 271.6)
XYZxyz(4.8974, 3.0793, 19.7343)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E257D #7D761E
analogous
#1E547D #1E257D #461E7D
triadic
#1E257D #7D1E25 #257D1E
tetradic
#1E257D #7D1E54 #7D761E #1E7D46
square
#1E257D #7D1E54 #7D761E #1E7D46
split-complementary
#1E257D #7D461E #547D1E
monochromatic
#06081A #12164C #1E257D #2A34AE #434ED2

Accessibility & contrast

On white

13.00
#1E257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E257D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E257D#FFFFFF#000000##FFFFFF
##1E257D1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e257d;
/* rgb */ color: rgb(30, 37, 125);
/* oklch */ color: oklch(32.5% 0.146 271.6);
Tailwind
colors: {
  custom: {
    50: '#6a60a4',
    500: '#1e257d',
    950: '#000000',
  },
}
SCSS
$custom: #1e257d;
$custom-light: #6a60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e257d",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 235.579,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32544,
    "c": 0.14611,
    "h": 271.6
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#1E257D
secondary
#B0A946
accent
#D943E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E257D

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

Preview Lab → · Contrast checker → · Palette generator →

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