#1E318F#1E318F

#1E318F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.156 H 268.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#1E318F
RGBrgb(30, 49, 143)
HSLhsl(230, 65%, 34%)
HSVhsv(230, 79%, 56%)
CMYKcmyk(79%, 65.7%, 0%, 43.9%)
CIE-LABlab(25.12, 28.16, -53.96)
CIE-LCHlch(25.12, 60.86, 297.56°)
OKLaboklab(36.56% -0.0045 -0.1561)
OKLCHoklch(36.56% 0.156 268.3)
XYZxyz(6.5899, 4.4551, 26.4939)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E318F #8F7C1E
analogous
#1E6A8F #1E318F #441E8F
triadic
#1E318F #8F1E31 #318F1E
tetradic
#1E318F #8F1E6A #8F7C1E #1E8F44
square
#1E318F #8F1E6A #8F7C1E #1E8F44
split-complementary
#1E318F #8F441E #6A8F1E
monochromatic
#090E2A #13205C #1E318F #2942C2 #4E65DA

Accessibility & contrast

On white

11.10
#1E318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1E318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E318F
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E318F#FFFFFF#000000##FFFFFF
##1E318F1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e318f;
/* rgb */ color: rgb(30, 49, 143);
/* oklch */ color: oklch(36.6% 0.156 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d69b1',
    500: '#1e318f',
    950: '#000000',
  },
}
SCSS
$custom: #1e318f;
$custom-light: #6d69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e318f",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 229.912,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36555,
    "c": 0.15618,
    "h": 268.3
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#1E318F
secondary
#BCAA4C
accent
#CC40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E318F

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

Preview Lab → · Contrast checker → · Palette generator →

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