#1E297F#1E297F

#1E297F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.144 H 270.6°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1E297F
RGBrgb(30, 41, 127)
HSLhsl(233, 62%, 31%)
HSVhsv(233, 76%, 50%)
CMYKcmyk(76.4%, 67.7%, 0%, 50.2%)
CIE-LABlab(21.56, 27.42, -49.80)
CIE-LCHlch(21.56, 56.85, 298.84°)
OKLaboklab(33.48% 0.0014 -0.144)
OKLCHoklch(33.48% 0.144 270.6)
XYZxyz(5.1578, 3.3937, 20.4578)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E297F #7F741E
analogous
#1E597F #1E297F #431E7F
triadic
#1E297F #7F1E29 #297F1E
tetradic
#1E297F #7F1E59 #7F741E #1E7F43
square
#1E297F #7F1E59 #7F741E #1E7F43
split-complementary
#1E297F #7F431E #597F1E
monochromatic
#07091C #12194D #1E297F #2A39B1 #4455D3

Accessibility & contrast

On white

12.51
#1E297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E297F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E297F#FFFFFF#000000##FFFFFF
##1E297F1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e297f;
/* rgb */ color: rgb(30, 41, 127);
/* oklch */ color: oklch(33.5% 0.144 270.6);
Tailwind
colors: {
  custom: {
    50: '#6a62a5',
    500: '#1e297f',
    950: '#000000',
  },
}
SCSS
$custom: #1e297f;
$custom-light: #6a62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e297f",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 233.196,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33476,
    "c": 0.144,
    "h": 270.6
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#1E297F
secondary
#B2A647
accent
#D343E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E297F

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

Preview Lab → · Contrast checker → · Palette generator →

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