#1E2A7C#1E2A7C

#1E2A7C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.139 H 270.4°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#1E2A7C
RGBrgb(30, 42, 124)
HSLhsl(232, 61%, 30%)
HSVhsv(232, 76%, 49%)
CMYKcmyk(75.8%, 66.1%, 0%, 51.4%)
CIE-LABlab(21.53, 25.58, -47.94)
CIE-LCHlch(21.53, 54.34, 298.08°)
OKLaboklab(33.37% 0.0009 -0.1385)
OKLCHoklch(33.37% 0.139 270.4)
XYZxyz(5.0002, 3.3867, 19.4550)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A7C #7C701E
analogous
#1E597C #1E2A7C #411E7C
triadic
#1E2A7C #7C1E2A #2A7C1E
tetradic
#1E2A7C #7C1E59 #7C701E #1E7C41
square
#1E2A7C #7C1E59 #7C701E #1E7C41
split-complementary
#1E2A7C #7C411E #597C1E
monochromatic
#060919 #12194B #1E2A7C #2A3BAD #4355D1

Accessibility & contrast

On white

12.52
#1E2A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A7C
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A7C#FFFFFF#000000##FFFFFF
##1E2A7C1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2a7c;
/* rgb */ color: rgb(30, 42, 124);
/* oklch */ color: oklch(33.4% 0.139 270.4);
Tailwind
colors: {
  custom: {
    50: '#6963a3',
    500: '#1e2a7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a7c;
$custom-light: #6963a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a7c",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 232.34,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3337,
    "c": 0.13855,
    "h": 270.4
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#1E2A7C
secondary
#AFA246
accent
#D044E4
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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