#1E278E#1E278E

#1E278E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.167 H 270.4°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#1E278E
RGBrgb(30, 39, 142)
HSLhsl(235, 65%, 34%)
HSVhsv(235, 79%, 56%)
CMYKcmyk(78.9%, 72.5%, 0%, 44.3%)
CIE-LABlab(22.58, 34.34, -57.52)
CIE-LCHlch(22.58, 66.99, 300.84°)
OKLaboklab(34.68% 0.001 -0.1665)
OKLCHoklch(34.68% 0.167 270.4)
XYZxyz(6.1418, 3.6794, 25.9724)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E278E #8E851E
analogous
#1E5F8E #1E278E #4D1E8E
triadic
#1E278E #8E1E27 #278E1E
tetradic
#1E278E #8E1E5F #8E851E #1E8E4D
square
#1E278E #8E1E5F #8E851E #1E8E4D
split-complementary
#1E278E #8E4D1E #5F8E1E
monochromatic
#090B29 #13195B #1E278E #2935C1 #4D58D9

Accessibility & contrast

On white

12.10
#1E278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E278E
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E278E#FFFFFF#000000##FFFFFF
##1E278E1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e278e;
/* rgb */ color: rgb(30, 39, 142);
/* oklch */ color: oklch(34.7% 0.167 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e62b0',
    500: '#1e278e',
    950: '#000000',
  },
}
SCSS
$custom: #1e278e;
$custom-light: #6e62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e278e",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 235.179,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34677,
    "c": 0.16653,
    "h": 270.4
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#1E278E
secondary
#BCB34C
accent
#DB40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1E278E

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

Preview Lab → · Contrast checker → · Palette generator →

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