#1E257F#1E257F

#1E257F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.149 H 271.5°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#1E257F
RGBrgb(30, 37, 127)
HSLhsl(236, 62%, 31%)
HSVhsv(236, 76%, 50%)
CMYKcmyk(76.4%, 70.9%, 0%, 50.2%)
CIE-LABlab(20.56, 30.09, -51.43)
CIE-LCHlch(20.56, 59.59, 300.33°)
OKLaboklab(32.75% 0.004 -0.1488)
OKLCHoklch(32.75% 0.149 271.5)
XYZxyz(5.0265, 3.1309, 20.4140)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E257F #7F781E
analogous
#1E557F #1E257F #471E7F
triadic
#1E257F #7F1E25 #257F1E
tetradic
#1E257F #7F1E55 #7F781E #1E7F47
square
#1E257F #7F1E55 #7F781E #1E7F47
split-complementary
#1E257F #7F471E #557F1E
monochromatic
#07081C #12174D #1E257F #2A33B1 #444FD3

Accessibility & contrast

On white

12.91
#1E257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E257F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E257F#FFFFFF#000000##FFFFFF
##1E257F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e257f;
/* rgb */ color: rgb(30, 37, 127);
/* oklch */ color: oklch(32.8% 0.149 271.5);
Tailwind
colors: {
  custom: {
    50: '#6a60a5',
    500: '#1e257f',
    950: '#000000',
  },
}
SCSS
$custom: #1e257f;
$custom-light: #6a60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e257f",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 235.67,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32752,
    "c": 0.14884,
    "h": 271.5
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#1E257F
secondary
#B2AA47
accent
#D943E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #1E257F

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

Preview Lab → · Contrast checker → · Palette generator →

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