#1E2A6E#1E2A6E

#1E2A6E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.118 H 270.6°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1E2A6E
RGBrgb(30, 42, 110)
HSLhsl(231, 57%, 27%)
HSVhsv(231, 73%, 43%)
CMYKcmyk(72.7%, 61.8%, 0%, 56.9%)
CIE-LABlab(20.27, 20.10, -41.03)
CIE-LCHlch(20.27, 45.69, 296.10°)
OKLaboklab(32.05% 0.0012 -0.1183)
OKLCHoklch(32.05% 0.118 270.6)
XYZxyz(4.1769, 3.0573, 15.1188)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A6E #6E621E
analogous
#1E526E #1E2A6E #3A1E6E
triadic
#1E2A6E #6E1E2A #2A6E1E
tetradic
#1E2A6E #6E1E52 #6E621E #1E6E3A
square
#1E2A6E #6E1E52 #6E621E #1E6E3A
split-complementary
#1E2A6E #6E3A1E #526E1E
monochromatic
#070918 #11183E #1E2A6E #2B3C9E #3C52CA

Accessibility & contrast

On white

13.03
#1E2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E2A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A6E
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A6E#FFFFFF#000000##FFFFFF
##1E2A6E1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2a6e;
/* rgb */ color: rgb(30, 42, 110);
/* oklch */ color: oklch(32.0% 0.118 270.6);
Tailwind
colors: {
  custom: {
    50: '#666398',
    500: '#1e2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a6e;
$custom-light: #666398;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a6e",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 231,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32049,
    "c": 0.11827,
    "h": 270.6
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#1E2A6E
secondary
#A29446
accent
#C947E0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1E2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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