#1E2A6F#1E2A6F

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

Color values

HEX#1E2A6F
RGBrgb(30, 42, 111)
HSLhsl(231, 57%, 28%)
HSVhsv(231, 73%, 44%)
CMYKcmyk(73%, 62.2%, 0%, 56.5%)
CIE-LABlab(20.36, 20.50, -41.53)
CIE-LCHlch(20.36, 46.32, 296.27°)
OKLaboklab(32.14% 0.0013 -0.1197)
OKLCHoklch(32.14% 0.12 270.6)
XYZxyz(4.2317, 3.0792, 15.4072)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A6F #6F631E
analogous
#1E536F #1E2A6F #3A1E6F
triadic
#1E2A6F #6F1E2A #2A6F1E
tetradic
#1E2A6F #6F1E53 #6F631E #1E6F3A
square
#1E2A6F #6F1E53 #6F631E #1E6F3A
split-complementary
#1E2A6F #6F3A1E #536F1E
monochromatic
#070918 #11183F #1E2A6F #2B3C9F #3D52CB

Accessibility & contrast

On white

13.00
#1E2A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A6F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A6F#FFFFFF#000000##FFFFFF
##1E2A6F1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2a6f;
/* rgb */ color: rgb(30, 42, 111);
/* oklch */ color: oklch(32.1% 0.120 270.6);
Tailwind
colors: {
  custom: {
    50: '#666399',
    500: '#1e2a6f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a6f;
$custom-light: #666399;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a6f",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 231.111,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3214,
    "c": 0.11976,
    "h": 270.6
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#1E2A6F
secondary
#A39546
accent
#CA47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1E2A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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