#1E296C#1E296C

#1E296C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.7% C 0.117 H 271.0°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#1E296C
RGBrgb(30, 41, 108)
HSLhsl(232, 57%, 27%)
HSVhsv(232, 72%, 42%)
CMYKcmyk(72.2%, 62%, 0%, 57.6%)
CIE-LABlab(19.82, 20.02, -40.47)
CIE-LCHlch(19.82, 45.15, 296.32°)
OKLaboklab(31.66% 0.0021 -0.1166)
OKLCHoklch(31.66% 0.117 271)
XYZxyz(4.0342, 2.9442, 14.5401)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E296C #6C611E
analogous
#1E506C #1E296C #3A1E6C
triadic
#1E296C #6C1E29 #296C1E
tetradic
#1E296C #6C1E50 #6C611E #1E6C3A
square
#1E296C #6C1E50 #6C611E #1E6C3A
split-complementary
#1E296C #6C3A1E #506C1E
monochromatic
#070918 #11173C #1E296C #2B3B9C #3C50C9

Accessibility & contrast

On white

13.22
#1E296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E296C
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E296C#FFFFFF#000000##FFFFFF
##1E296C1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002C6B
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e296c;
/* rgb */ color: rgb(30, 41, 108);
/* oklch */ color: oklch(31.7% 0.117 271.0);
Tailwind
colors: {
  custom: {
    50: '#656297',
    500: '#1e296c',
    950: '#000000',
  },
}
SCSS
$custom: #1e296c;
$custom-light: #656297;
$custom-dark: #000000;
JSON
{
  "hex": "#1e296c",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 231.538,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31658,
    "c": 0.11666,
    "h": 271
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#1E296C
secondary
#A09445
accent
#CA48E0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1E296C

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

Preview Lab → · Contrast checker → · Palette generator →

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