#1E257A#1E257A

#1E257A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.142 H 271.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#1E257A
RGBrgb(30, 37, 122)
HSLhsl(235, 61%, 30%)
HSVhsv(235, 75%, 48%)
CMYKcmyk(75.4%, 69.7%, 0%, 52.2%)
CIE-LABlab(20.06, 28.21, -49.08)
CIE-LCHlch(20.06, 56.61, 299.89°)
OKLaboklab(32.24% 0.0045 -0.1419)
OKLCHoklch(32.24% 0.142 271.8)
XYZxyz(4.7087, 3.0038, 18.7402)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E257A #7A731E
analogous
#1E537A #1E257A #451E7A
triadic
#1E257A #7A1E25 #257A1E
tetradic
#1E257A #7A1E53 #7A731E #1E7A45
square
#1E257A #7A1E53 #7A731E #1E7A45
split-complementary
#1E257A #7A451E #537A1E
monochromatic
#060719 #121649 #1E257A #2A34AB #424DD0

Accessibility & contrast

On white

13.12
#1E257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E257A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E257A#FFFFFF#000000##FFFFFF
##1E257A1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e257a;
/* rgb */ color: rgb(30, 37, 122);
/* oklch */ color: oklch(32.2% 0.142 271.8);
Tailwind
colors: {
  custom: {
    50: '#695fa1',
    500: '#1e257a',
    950: '#000000',
  },
}
SCSS
$custom: #1e257a;
$custom-light: #695fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e257a",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 235.435,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32236,
    "c": 0.14198,
    "h": 271.8
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#1E257A
secondary
#AEA646
accent
#D844E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E257A

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

Preview Lab → · Contrast checker → · Palette generator →

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