#1E30A0#1E30A0

#1E30A0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.180 H 268.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#1E30A0
RGBrgb(30, 48, 160)
HSLhsl(232, 68%, 37%)
HSVhsv(232, 81%, 63%)
CMYKcmyk(81.3%, 70%, 0%, 37.3%)
CIE-LABlab(26.53, 35.23, -62.08)
CIE-LCHlch(26.53, 71.38, 299.57°)
OKLaboklab(38.08% -0.0052 -0.1798)
OKLCHoklch(38.08% 0.18 268.4)
XYZxyz(7.9353, 4.9271, 33.7837)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E30A0 #A08E1E
analogous
#1E71A0 #1E30A0 #4D1EA0
triadic
#1E30A0 #A01E30 #30A01E
tetradic
#1E30A0 #A01E71 #A08E1E #1EA04D
square
#1E30A0 #A01E71 #A08E1E #1EA04D
split-complementary
#1E30A0 #A04D1E #71A01E
monochromatic
#0B1139 #14216C #1E30A0 #283FD4 #596BE0

Accessibility & contrast

On white

10.58
#1E30A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1E30A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E30A0
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E30A0#FFFFFF#000000##FFFFFF
##1E30A01.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e30a0;
/* rgb */ color: rgb(30, 48, 160);
/* oklch */ color: oklch(38.1% 0.180 268.4);
Tailwind
colors: {
  custom: {
    50: '#7268bd',
    500: '#1e30a0',
    950: '#000000',
  },
}
SCSS
$custom: #1e30a0;
$custom-light: #7268bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e30a0",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 160
  },
  "hsl": {
    "h": 231.692,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38081,
    "c": 0.1799,
    "h": 268.4
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#1E30A0
secondary
#C4B456
accent
#D33DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E30A0

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

Preview Lab → · Contrast checker → · Palette generator →

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