#1E297D#1E297D

#1E297D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.141 H 270.6°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#1E297D
RGBrgb(30, 41, 125)
HSLhsl(233, 61%, 30%)
HSVhsv(233, 76%, 49%)
CMYKcmyk(76%, 67.2%, 0%, 51%)
CIE-LABlab(21.36, 26.65, -48.85)
CIE-LCHlch(21.36, 55.64, 298.62°)
OKLaboklab(33.28% 0.0016 -0.1412)
OKLCHoklch(33.28% 0.141 270.6)
XYZxyz(5.0288, 3.3420, 19.7781)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E297D #7D721E
analogous
#1E587D #1E297D #431E7D
triadic
#1E297D #7D1E29 #297D1E
tetradic
#1E297D #7D1E58 #7D721E #1E7D43
square
#1E297D #7D1E58 #7D721E #1E7D43
split-complementary
#1E297D #7D431E #587D1E
monochromatic
#06091A #12194C #1E297D #2A39AE #4354D2

Accessibility & contrast

On white

12.59
#1E297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E297D
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E297D#FFFFFF#000000##FFFFFF
##1E297D1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e297d;
/* rgb */ color: rgb(30, 41, 125);
/* oklch */ color: oklch(33.3% 0.141 270.6);
Tailwind
colors: {
  custom: {
    50: '#6962a3',
    500: '#1e297d',
    950: '#000000',
  },
}
SCSS
$custom: #1e297d;
$custom-light: #6962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e297d",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 233.053,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33277,
    "c": 0.14122,
    "h": 270.6
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#1E297D
secondary
#B0A446
accent
#D243E4
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E297D

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

Preview Lab → · Contrast checker → · Palette generator →

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