#1E305F#1E305F

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

Color values

HEX#1E305F
RGBrgb(30, 48, 95)
HSLhsl(223, 52%, 25%)
HSVhsv(223, 68%, 37%)
CMYKcmyk(68.4%, 49.5%, 0%, 62.7%)
CIE-LABlab(20.89, 9.80, -30.25)
CIE-LCHlch(20.89, 31.80, 287.95°)
OKLaboklab(32.14% -0.0061 -0.0865)
OKLCHoklch(32.14% 0.087 265.9)
XYZxyz(3.6572, 3.2158, 11.2522)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E305F #5F4D1E
analogous
#1E515F #1E305F #2D1E5F
triadic
#1E305F #5F1E30 #305F1E
tetradic
#1E305F #5F1E51 #5F4D1E #1E5F2D
square
#1E305F #5F1E51 #5F4D1E #1E5F2D
split-complementary
#1E305F #5F2D1E #515F1E
monochromatic
#070C17 #0F1830 #1E305F #2D488E #3B5FBC

Accessibility & contrast

On white

12.78
#1E305F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E305F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E305F#FFFFFF#000000##FFFFFF
##1E305F1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193561
Deuteranopia (green-blind)
#0D2F5E
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e305f;
/* rgb */ color: rgb(30, 48, 95);
/* oklch */ color: oklch(32.1% 0.087 265.9);
Tailwind
colors: {
  custom: {
    50: '#62678d',
    500: '#1e305f',
    950: '#000000',
  },
}
SCSS
$custom: #1e305f;
$custom-light: #62678d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e305f",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 223.385,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32144,
    "c": 0.0867,
    "h": 265.9
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#1E305F
secondary
#947E45
accent
#B44CDB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1E305F

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

Preview Lab → · Contrast checker → · Palette generator →

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