#1E30A8#1E30A8

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

Color values

HEX#1E30A8
RGBrgb(30, 48, 168)
HSLhsl(232, 70%, 39%)
HSVhsv(232, 82%, 66%)
CMYKcmyk(82.1%, 71.4%, 0%, 34.1%)
CIE-LABlab(27.34, 38.15, -65.57)
CIE-LCHlch(27.34, 75.87, 300.19°)
OKLaboklab(38.92% -0.0059 -0.19)
OKLCHoklch(38.92% 0.19 268.2)
XYZxyz(8.6578, 5.2161, 37.5887)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E30A8 #A8961E
analogous
#1E75A8 #1E30A8 #511EA8
triadic
#1E30A8 #A81E30 #30A81E
tetradic
#1E30A8 #A81E75 #A8961E #1EA851
square
#1E30A8 #A81E75 #A8961E #1EA851
split-complementary
#1E30A8 #A8511E #75A81E
monochromatic
#0B1240 #152174 #1E30A8 #2A41D9 #5E6FE2

Accessibility & contrast

On white

10.28
#1E30A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E30A8
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E30A8#FFFFFF#000000##FFFFFF
##1E30A81.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e30a8;
/* rgb */ color: rgb(30, 48, 168);
/* oklch */ color: oklch(38.9% 0.190 268.2);
Tailwind
colors: {
  custom: {
    50: '#7469c3',
    500: '#1e30a8',
    950: '#000000',
  },
}
SCSS
$custom: #1e30a8;
$custom-light: #7469c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e30a8",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 232.174,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.1901,
    "h": 268.2
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#1E30A8
secondary
#C7B95B
accent
#D53BED
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #1E30A8

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

Preview Lab → · Contrast checker → · Palette generator →

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