#1E2C74#1E2C74

#1E2C74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.124 H 269.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#1E2C74
RGBrgb(30, 44, 116)
HSLhsl(230, 59%, 29%)
HSVhsv(230, 74%, 45%)
CMYKcmyk(74.1%, 62.1%, 0%, 54.5%)
CIE-LABlab(21.35, 21.06, -43.13)
CIE-LCHlch(21.35, 48.00, 296.02°)
OKLaboklab(33.01% -0.0004 -0.1244)
OKLCHoklch(33.01% 0.124 269.8)
XYZxyz(4.5874, 3.3379, 16.9221)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C74 #74661E
analogous
#1E5774 #1E2C74 #3B1E74
triadic
#1E2C74 #741E2C #2C741E
tetradic
#1E2C74 #741E57 #74661E #1E743B
square
#1E2C74 #741E57 #74661E #1E743B
split-complementary
#1E2C74 #743B1E #57741E
monochromatic
#060918 #111A43 #1E2C74 #2B3EA5 #3F56CD

Accessibility & contrast

On white

12.59
#1E2C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E2C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C74
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C74#FFFFFF#000000##FFFFFF
##1E2C741.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2c74;
/* rgb */ color: rgb(30, 44, 116);
/* oklch */ color: oklch(33.0% 0.124 269.8);
Tailwind
colors: {
  custom: {
    50: '#67649d',
    500: '#1e2c74',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c74;
$custom-light: #67649d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c74",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 230.233,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33012,
    "c": 0.12443,
    "h": 269.8
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#1E2C74
secondary
#A89846
accent
#C946E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1E2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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