#1E156F#1E156F

#1E156F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.145 H 276.4°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#1E156F
RGBrgb(30, 21, 111)
HSLhsl(246, 68%, 26%)
HSVhsv(246, 81%, 44%)
CMYKcmyk(73%, 81.1%, 0%, 56.5%)
CIE-LABlab(15.27, 34.22, -49.88)
CIE-LCHlch(15.27, 60.49, 304.46°)
OKLaboklab(28.46% 0.0161 -0.1442)
OKLCHoklch(28.46% 0.145 276.4)
XYZxyz(3.6719, 1.9597, 15.2206)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E156F #666F15
analogous
#15396F #1E156F #4B156F
triadic
#1E156F #6F1E15 #156F1E
tetradic
#1E156F #6F1539 #666F15 #156F4B
square
#1E156F #6F1539 #666F15 #156F4B
split-complementary
#1E156F #6F4B15 #396F15
monochromatic
#07051A #100B3C #1E156F #2C1FA2 #3A28D6

Accessibility & contrast

On white

15.09
#1E156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E156F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E156F#FFFFFF#000000##FFFFFF
##1E156F1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e156f;
/* rgb */ color: rgb(30, 21, 111);
/* oklch */ color: oklch(28.5% 0.145 276.4);
Tailwind
colors: {
  custom: {
    50: '#685599',
    500: '#1e156f',
    950: '#000000',
  },
}
SCSS
$custom: #1e156f;
$custom-light: #685599;
$custom-dark: #000000;
JSON
{
  "hex": "#1e156f",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 246,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28461,
    "c": 0.14507,
    "h": 276.4
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#1E156F
secondary
#9BA53A
accent
#EB3DDA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E156F

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

Preview Lab → · Contrast checker → · Palette generator →

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