#1E305E#1E305E

#1E305E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.085 H 265.7°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1E305E
RGBrgb(30, 48, 94)
HSLhsl(223, 52%, 24%)
HSVhsv(223, 68%, 37%)
CMYKcmyk(68.1%, 48.9%, 0%, 63.1%)
CIE-LABlab(20.82, 9.40, -29.71)
CIE-LCHlch(20.82, 31.16, 287.56°)
OKLaboklab(32.07% -0.0063 -0.0849)
OKLCHoklch(32.07% 0.085 265.7)
XYZxyz(3.6121, 3.1977, 11.0144)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E305E #5E4C1E
analogous
#1E505E #1E305E #2C1E5E
triadic
#1E305E #5E1E30 #305E1E
tetradic
#1E305E #5E1E50 #5E4C1E #1E5E2C
square
#1E305E #5E1E50 #5E4C1E #1E5E2C
split-complementary
#1E305E #5E2C1E #505E1E
monochromatic
#070C17 #0F1830 #1E305E #2D488C #3C5FBB

Accessibility & contrast

On white

12.81
#1E305E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E305E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E305E
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E305E#FFFFFF#000000##FFFFFF
##1E305E1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3560
Deuteranopia (green-blind)
#0F2F5D
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e305e;
/* rgb */ color: rgb(30, 48, 94);
/* oklch */ color: oklch(32.1% 0.085 265.7);
Tailwind
colors: {
  custom: {
    50: '#61678c',
    500: '#1e305e',
    950: '#000000',
  },
}
SCSS
$custom: #1e305e;
$custom-light: #61678c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e305e",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 223.125,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32068,
    "c": 0.08511,
    "h": 265.7
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#1E305E
secondary
#937D45
accent
#B34DDB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1E305E

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

Preview Lab → · Contrast checker → · Palette generator →

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