#1E2A4E#1E2A4E

#1E2A4E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.068 H 268.2°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#1E2A4E
RGBrgb(30, 42, 78)
HSLhsl(225, 44%, 21%)
HSVhsv(225, 62%, 31%)
CMYKcmyk(61.5%, 46.2%, 0%, 69.4%)
CIE-LABlab(17.84, 7.43, -23.80)
CIE-LCHlch(17.84, 24.93, 287.34°)
OKLaboklab(29.43% -0.0021 -0.0676)
OKLCHoklch(29.43% 0.068 268.2)
XYZxyz(2.7381, 2.4818, 7.5410)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A4E #4E421E
analogous
#1E424E #1E2A4E #2A1E4E
triadic
#1E2A4E #4E1E2A #2A4E1E
tetradic
#1E2A4E #4E1E42 #4E421E #1E4E2A
square
#1E2A4E #4E1E42 #4E421E #1E4E2A
split-complementary
#1E2A4E #4E2A1E #424E1E
monochromatic
#090C16 #0D1222 #1E2A4E #2F427A #405AA6

Accessibility & contrast

On white

14.03
#1E2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A4E
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A4E#FFFFFF#000000##FFFFFF
##1E2A4E1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#152A4D
Tritanopia (blue-blind)
#033238
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e2a4e;
/* rgb */ color: rgb(30, 42, 78);
/* oklch */ color: oklch(29.4% 0.068 268.2);
Tailwind
colors: {
  custom: {
    50: '#5e6380',
    500: '#1e2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a4e;
$custom-light: #5e6380;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a4e",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 225,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29432,
    "c": 0.06763,
    "h": 268.2
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#1E2A4E
secondary
#837345
accent
#B454D4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #1E2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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