#1E297E#1E297E

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

Color values

HEX#1E297E
RGBrgb(30, 41, 126)
HSLhsl(233, 62%, 31%)
HSVhsv(233, 76%, 49%)
CMYKcmyk(76.2%, 67.5%, 0%, 50.6%)
CIE-LABlab(21.46, 27.04, -49.32)
CIE-LCHlch(21.46, 56.25, 298.73°)
OKLaboklab(33.38% 0.0015 -0.1426)
OKLCHoklch(33.38% 0.143 270.6)
XYZxyz(5.0930, 3.3677, 20.1162)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E297E #7E731E
analogous
#1E597E #1E297E #431E7E
triadic
#1E297E #7E1E29 #297E1E
tetradic
#1E297E #7E1E59 #7E731E #1E7E43
square
#1E297E #7E1E59 #7E731E #1E7E43
split-complementary
#1E297E #7E431E #597E1E
monochromatic
#06091B #12194D #1E297E #2A39AF #4454D2

Accessibility & contrast

On white

12.55
#1E297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E297E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E297E
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E297E#FFFFFF#000000##FFFFFF
##1E297E1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e297e;
/* rgb */ color: rgb(30, 41, 126);
/* oklch */ color: oklch(33.4% 0.143 270.6);
Tailwind
colors: {
  custom: {
    50: '#6a62a4',
    500: '#1e297e',
    950: '#000000',
  },
}
SCSS
$custom: #1e297e;
$custom-light: #6a62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e297e",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 233.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33376,
    "c": 0.14261,
    "h": 270.6
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

primary
#1E297E
secondary
#B1A547
accent
#D243E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E297E

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

Preview Lab → · Contrast checker → · Palette generator →

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