#1E2C76#1E2C76

#1E2C76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.127 H 269.8°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#1E2C76
RGBrgb(30, 44, 118)
HSLhsl(230, 59%, 29%)
HSVhsv(230, 75%, 46%)
CMYKcmyk(74.6%, 62.7%, 0%, 53.7%)
CIE-LABlab(21.52, 21.85, -44.13)
CIE-LCHlch(21.52, 49.24, 296.34°)
OKLaboklab(33.2% -0.0004 -0.1273)
OKLCHoklch(33.2% 0.127 269.8)
XYZxyz(4.7050, 3.3849, 17.5414)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C76 #76681E
analogous
#1E5876 #1E2C76 #3C1E76
triadic
#1E2C76 #761E2C #2C761E
tetradic
#1E2C76 #761E58 #76681E #1E763C
square
#1E2C76 #761E58 #76681E #1E763C
split-complementary
#1E2C76 #763C1E #58761E
monochromatic
#060918 #121A45 #1E2C76 #2A3EA7 #4057CE

Accessibility & contrast

On white

12.52
#1E2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C76
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C76#FFFFFF#000000##FFFFFF
##1E2C761.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2c76;
/* rgb */ color: rgb(30, 44, 118);
/* oklch */ color: oklch(33.2% 0.127 269.8);
Tailwind
colors: {
  custom: {
    50: '#67649e',
    500: '#1e2c76',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c76;
$custom-light: #67649e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c76",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 230.455,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33196,
    "c": 0.12735,
    "h": 269.8
  },
  "luminance": 0.03385
}

Semantic roles & 50–950 ramp

primary
#1E2C76
secondary
#AA9A46
accent
#CA45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1E2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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