#1E147B#1E147B

#1E147B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.161 H 274.7°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#1E147B
RGBrgb(30, 20, 123)
HSLhsl(246, 72%, 28%)
HSVhsv(246, 84%, 48%)
CMYKcmyk(75.6%, 83.7%, 0%, 51.8%)
CIE-LABlab(16.53, 38.75, -55.54)
CIE-LCHlch(16.53, 67.72, 304.91°)
OKLaboklab(29.76% 0.0133 -0.1606)
OKLCHoklch(29.76% 0.161 274.7)
XYZxyz(4.3595, 2.2060, 18.9311)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E147B #717B14
analogous
#143D7B #1E147B #51147B
triadic
#1E147B #7B1E14 #147B1E
tetradic
#1E147B #7B143D #717B14 #147B51
square
#1E147B #7B143D #717B14 #147B51
split-complementary
#1E147B #7B5114 #3D7B14
monochromatic
#06041A #110B46 #1E147B #2B1DB0 #3E2DDD

Accessibility & contrast

On white

14.57
#1E147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E147B
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E147B#FFFFFF#000000##FFFFFF
##1E147B1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e147b;
/* rgb */ color: rgb(30, 20, 123);
/* oklch */ color: oklch(29.8% 0.161 274.7);
Tailwind
colors: {
  custom: {
    50: '#6b55a2',
    500: '#1e147b',
    950: '#000000',
  },
}
SCSS
$custom: #1e147b;
$custom-light: #6b55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e147b",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 245.825,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29761,
    "c": 0.16114,
    "h": 274.7
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#1E147B
secondary
#A5B13A
accent
#EF39DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E147B

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

Preview Lab → · Contrast checker → · Palette generator →

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