#1E305D#1E305D

#1E305D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.084 H 265.5°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#1E305D
RGBrgb(30, 48, 93)
HSLhsl(223, 51%, 24%)
HSVhsv(223, 68%, 36%)
CMYKcmyk(67.7%, 48.4%, 0%, 63.5%)
CIE-LABlab(20.75, 9.00, -29.16)
CIE-LCHlch(20.75, 30.52, 287.16°)
OKLaboklab(31.99% -0.0065 -0.0833)
OKLCHoklch(31.99% 0.084 265.5)
XYZxyz(3.5675, 3.1799, 10.7796)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E305D #5D4B1E
analogous
#1E505D #1E305D #2C1E5D
triadic
#1E305D #5D1E30 #305D1E
tetradic
#1E305D #5D1E50 #5D4B1E #1E5D2C
square
#1E305D #5D1E50 #5D4B1E #1E5D2C
split-complementary
#1E305D #5D2C1E #505D1E
monochromatic
#070C17 #0F182F #1E305D #2D488B #3C60BA

Accessibility & contrast

On white

12.84
#1E305D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E305D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E305D#FFFFFF#000000##FFFFFF
##1E305D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B355F
Deuteranopia (green-blind)
#102F5C
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e305d;
/* rgb */ color: rgb(30, 48, 93);
/* oklch */ color: oklch(32.0% 0.084 265.5);
Tailwind
colors: {
  custom: {
    50: '#61678b',
    500: '#1e305d',
    950: '#000000',
  },
}
SCSS
$custom: #1e305d;
$custom-light: #61678b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e305d",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 222.857,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31994,
    "c": 0.08352,
    "h": 265.5
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#1E305D
secondary
#927C45
accent
#B24DDB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1E305D

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

Preview Lab → · Contrast checker → · Palette generator →

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