#1E30A7#1E30A7

#1E30A7 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.189 H 268.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#1E30A7
RGBrgb(30, 48, 167)
HSLhsl(232, 70%, 39%)
HSVhsv(232, 82%, 65%)
CMYKcmyk(82%, 71.3%, 0%, 34.5%)
CIE-LABlab(27.24, 37.79, -65.14)
CIE-LCHlch(27.24, 75.31, 300.12°)
OKLaboklab(38.81% -0.0058 -0.1887)
OKLCHoklch(38.81% 0.189 268.2)
XYZxyz(8.5650, 5.1789, 37.0999)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E30A7 #A7951E
analogous
#1E74A7 #1E30A7 #501EA7
triadic
#1E30A7 #A71E30 #30A71E
tetradic
#1E30A7 #A71E74 #A7951E #1EA750
square
#1E30A7 #A71E74 #A7951E #1EA750
split-complementary
#1E30A7 #A7501E #74A71E
monochromatic
#0B123F #152173 #1E30A7 #2A41D9 #5D6FE2

Accessibility & contrast

On white

10.31
#1E30A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1E30A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E30A7
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E30A7#FFFFFF#000000##FFFFFF
##1E30A71.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e30a7;
/* rgb */ color: rgb(30, 48, 167);
/* oklch */ color: oklch(38.8% 0.189 268.2);
Tailwind
colors: {
  custom: {
    50: '#7469c2',
    500: '#1e30a7',
    950: '#000000',
  },
}
SCSS
$custom: #1e30a7;
$custom-light: #7469c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e30a7",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 232.117,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3881,
    "c": 0.18884,
    "h": 268.2
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#1E30A7
secondary
#C6B85B
accent
#D53BEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #1E30A7

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

Preview Lab → · Contrast checker → · Palette generator →

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