#1E276F#1E276F

#1E276F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.124 H 271.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#1E276F
RGBrgb(30, 39, 111)
HSLhsl(233, 57%, 28%)
HSVhsv(233, 73%, 44%)
CMYKcmyk(73%, 64.9%, 0%, 56.5%)
CIE-LABlab(19.53, 22.61, -42.88)
CIE-LCHlch(19.53, 48.47, 297.80°)
OKLaboklab(31.53% 0.0038 -0.1237)
OKLCHoklch(31.53% 0.124 271.7)
XYZxyz(4.1292, 2.8744, 15.3730)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E276F #6F661E
analogous
#1E506F #1E276F #3D1E6F
triadic
#1E276F #6F1E27 #276F1E
tetradic
#1E276F #6F1E50 #6F661E #1E6F3D
square
#1E276F #6F1E50 #6F661E #1E6F3D
split-complementary
#1E276F #6F3D1E #506F1E
monochromatic
#070818 #11163F #1E276F #2B389F #3D4DCB

Accessibility & contrast

On white

13.33
#1E276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E276F
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E276F#FFFFFF#000000##FFFFFF
##1E276F1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e276f;
/* rgb */ color: rgb(30, 39, 111);
/* oklch */ color: oklch(31.5% 0.124 271.7);
Tailwind
colors: {
  custom: {
    50: '#666199',
    500: '#1e276f',
    950: '#000000',
  },
}
SCSS
$custom: #1e276f;
$custom-light: #666199;
$custom-dark: #000000;
JSON
{
  "hex": "#1e276f",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 233.333,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31529,
    "c": 0.12379,
    "h": 271.7
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#1E276F
secondary
#A39946
accent
#D047E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1E276F

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

Preview Lab → · Contrast checker → · Palette generator →

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