#1E305B#1E305B

#1E305B is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.080 H 265.1°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#1E305B
RGBrgb(30, 48, 91)
HSLhsl(222, 50%, 24%)
HSVhsv(222, 67%, 36%)
CMYKcmyk(67%, 47.3%, 0%, 64.3%)
CIE-LABlab(20.62, 8.21, -28.06)
CIE-LCHlch(20.62, 29.23, 286.30°)
OKLaboklab(31.85% -0.0069 -0.08)
OKLCHoklch(31.85% 0.08 265.1)
XYZxyz(3.4800, 3.1449, 10.3191)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E305B #5B491E
analogous
#1E4E5B #1E305B #2A1E5B
triadic
#1E305B #5B1E30 #305B1E
tetradic
#1E305B #5B1E4E #5B491E #1E5B2A
square
#1E305B #5B1E4E #5B491E #1E5B2A
split-complementary
#1E305B #5B2A1E #4E5B1E
monochromatic
#080C17 #0F182D #1E305B #2D4889 #3C61B7

Accessibility & contrast

On white

12.89
#1E305B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E305B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E305B#FFFFFF#000000##FFFFFF
##1E305B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C355D
Deuteranopia (green-blind)
#132F5A
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e305b;
/* rgb */ color: rgb(30, 48, 91);
/* oklch */ color: oklch(31.8% 0.080 265.1);
Tailwind
colors: {
  custom: {
    50: '#61678a',
    500: '#1e305b',
    950: '#000000',
  },
}
SCSS
$custom: #1e305b;
$custom-light: #61678a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e305b",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 222.295,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31846,
    "c": 0.08032,
    "h": 265.1
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#1E305B
secondary
#907A45
accent
#B14EDA
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1E305B

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

Preview Lab → · Contrast checker → · Palette generator →

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