#1E297A#1E297A

#1E297A is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.137 H 270.7°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#1E297A
RGBrgb(30, 41, 122)
HSLhsl(233, 61%, 30%)
HSVhsv(233, 75%, 48%)
CMYKcmyk(75.4%, 66.4%, 0%, 52.2%)
CIE-LABlab(21.08, 25.49, -47.40)
CIE-LCHlch(21.08, 53.83, 298.27°)
OKLaboklab(32.98% 0.0017 -0.137)
OKLCHoklch(32.98% 0.137 270.7)
XYZxyz(4.8400, 3.2665, 18.7840)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E297A #7A6F1E
analogous
#1E577A #1E297A #411E7A
triadic
#1E297A #7A1E29 #297A1E
tetradic
#1E297A #7A1E57 #7A6F1E #1E7A41
square
#1E297A #7A1E57 #7A6F1E #1E7A41
split-complementary
#1E297A #7A411E #577A1E
monochromatic
#060819 #121849 #1E297A #2A3AAB #4253D0

Accessibility & contrast

On white

12.70
#1E297A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E297A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E297A
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E297A#FFFFFF#000000##FFFFFF
##1E297A1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e297a;
/* rgb */ color: rgb(30, 41, 122);
/* oklch */ color: oklch(33.0% 0.137 270.7);
Tailwind
colors: {
  custom: {
    50: '#6962a1',
    500: '#1e297a',
    950: '#000000',
  },
}
SCSS
$custom: #1e297a;
$custom-light: #6962a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e297a",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 232.826,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32982,
    "c": 0.13699,
    "h": 270.7
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#1E297A
secondary
#AEA146
accent
#D144E4
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E297A

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

Preview Lab → · Contrast checker → · Palette generator →

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