#1E257E#1E257E

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

Color values

HEX#1E257E
RGBrgb(30, 37, 126)
HSLhsl(236, 62%, 31%)
HSVhsv(236, 76%, 49%)
CMYKcmyk(76.2%, 70.6%, 0%, 50.6%)
CIE-LABlab(20.46, 29.71, -50.97)
CIE-LCHlch(20.46, 58.99, 300.24°)
OKLaboklab(32.65% 0.0041 -0.1474)
OKLCHoklch(32.65% 0.147 271.6)
XYZxyz(4.9616, 3.1050, 20.0725)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E257E #7E771E
analogous
#1E557E #1E257E #471E7E
triadic
#1E257E #7E1E25 #257E1E
tetradic
#1E257E #7E1E55 #7E771E #1E7E47
square
#1E257E #7E1E55 #7E771E #1E7E47
split-complementary
#1E257E #7E471E #557E1E
monochromatic
#06081B #12164D #1E257E #2A34AF #444ED2

Accessibility & contrast

On white

12.95
#1E257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E257E
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E257E#FFFFFF#000000##FFFFFF
##1E257E1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e257e;
/* rgb */ color: rgb(30, 37, 126);
/* oklch */ color: oklch(32.6% 0.147 271.6);
Tailwind
colors: {
  custom: {
    50: '#6a60a4',
    500: '#1e257e',
    950: '#000000',
  },
}
SCSS
$custom: #1e257e;
$custom-light: #6a60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e257e",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 235.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32648,
    "c": 0.14748,
    "h": 271.6
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#1E257E
secondary
#B1A947
accent
#D943E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E257E

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

Preview Lab → · Contrast checker → · Palette generator →

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