#1E297C#1E297C

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

Color values

HEX#1E297C
RGBrgb(30, 41, 124)
HSLhsl(233, 61%, 30%)
HSVhsv(233, 76%, 49%)
CMYKcmyk(75.8%, 66.9%, 0%, 51.4%)
CIE-LABlab(21.27, 26.27, -48.37)
CIE-LCHlch(21.27, 55.04, 298.50°)
OKLaboklab(33.18% 0.0016 -0.1398)
OKLCHoklch(33.18% 0.14 270.7)
XYZxyz(4.9652, 3.3166, 19.4434)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E297C #7C711E
analogous
#1E587C #1E297C #421E7C
triadic
#1E297C #7C1E29 #297C1E
tetradic
#1E297C #7C1E58 #7C711E #1E7C42
square
#1E297C #7C1E58 #7C711E #1E7C42
split-complementary
#1E297C #7C421E #587C1E
monochromatic
#060819 #12194B #1E297C #2A39AD #4354D1

Accessibility & contrast

On white

12.62
#1E297C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E297C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E297C
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E297C#FFFFFF#000000##FFFFFF
##1E297C1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e297c;
/* rgb */ color: rgb(30, 41, 124);
/* oklch */ color: oklch(33.2% 0.140 270.7);
Tailwind
colors: {
  custom: {
    50: '#6962a3',
    500: '#1e297c',
    950: '#000000',
  },
}
SCSS
$custom: #1e297c;
$custom-light: #6962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e297c",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 232.979,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33178,
    "c": 0.13981,
    "h": 270.7
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#1E297C
secondary
#AFA346
accent
#D144E4
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E297C

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

Preview Lab → · Contrast checker → · Palette generator →

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