#1E305C#1E305C

#1E305C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.9% C 0.082 H 265.3°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#1E305C
RGBrgb(30, 48, 92)
HSLhsl(223, 51%, 24%)
HSVhsv(223, 67%, 36%)
CMYKcmyk(67.4%, 47.8%, 0%, 63.9%)
CIE-LABlab(20.68, 8.60, -28.61)
CIE-LCHlch(20.68, 29.87, 286.74°)
OKLaboklab(31.92% -0.0067 -0.0816)
OKLCHoklch(31.92% 0.082 265.3)
XYZxyz(3.5235, 3.1623, 10.5478)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E305C #5C4A1E
analogous
#1E4F5C #1E305C #2B1E5C
triadic
#1E305C #5C1E30 #305C1E
tetradic
#1E305C #5C1E4F #5C4A1E #1E5C2B
square
#1E305C #5C1E4F #5C4A1E #1E5C2B
split-complementary
#1E305C #5C2B1E #4F5C1E
monochromatic
#080C17 #0F182E #1E305C #2D488A #3C60B8

Accessibility & contrast

On white

12.86
#1E305C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E305C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E305C
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E305C#FFFFFF#000000##FFFFFF
##1E305C1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B355E
Deuteranopia (green-blind)
#112F5B
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e305c;
/* rgb */ color: rgb(30, 48, 92);
/* oklch */ color: oklch(31.9% 0.082 265.3);
Tailwind
colors: {
  custom: {
    50: '#61678a',
    500: '#1e305c',
    950: '#000000',
  },
}
SCSS
$custom: #1e305c;
$custom-light: #61678a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e305c",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 222.581,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31919,
    "c": 0.08192,
    "h": 265.3
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#1E305C
secondary
#917B45
accent
#B14DDA
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1E305C

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

Preview Lab → · Contrast checker → · Palette generator →

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