#1E295F#1E295F

#1E295F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.097 H 270.9°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#1E295F
RGBrgb(30, 41, 95)
HSLhsl(230, 52%, 25%)
HSVhsv(230, 68%, 37%)
CMYKcmyk(68.4%, 56.8%, 0%, 62.7%)
CIE-LABlab(18.75, 14.86, -33.70)
CIE-LCHlch(18.75, 36.83, 293.80°)
OKLaboklab(30.52% 0.0016 -0.0967)
OKLCHoklch(30.52% 0.097 270.9)
XYZxyz(3.3932, 2.6878, 11.1642)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E295F #5F541E
analogous
#1E4A5F #1E295F #341E5F
triadic
#1E295F #5F1E29 #295F1E
tetradic
#1E295F #5F1E4A #5F541E #1E5F34
square
#1E295F #5F1E4A #5F541E #1E5F34
split-complementary
#1E295F #5F341E #4A5F1E
monochromatic
#070A17 #0F1530 #1E295F #2D3D8E #3B51BC

Accessibility & contrast

On white

13.66
#1E295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E295F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E295F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E295F#FFFFFF#000000##FFFFFF
##1E295F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063161
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e295f;
/* rgb */ color: rgb(30, 41, 95);
/* oklch */ color: oklch(30.5% 0.097 270.9);
Tailwind
colors: {
  custom: {
    50: '#62628d',
    500: '#1e295f',
    950: '#000000',
  },
}
SCSS
$custom: #1e295f;
$custom-light: #62628d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e295f",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 229.846,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30518,
    "c": 0.09674,
    "h": 270.9
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#1E295F
secondary
#948745
accent
#C34CDB
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1E295F

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

Preview Lab → · Contrast checker → · Palette generator →

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