#1E2C71#1E2C71

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

Color values

HEX#1E2C71
RGBrgb(30, 44, 113)
HSLhsl(230, 58%, 28%)
HSVhsv(230, 73%, 44%)
CMYKcmyk(73.5%, 61.1%, 0%, 55.7%)
CIE-LABlab(21.09, 19.87, -41.63)
CIE-LCHlch(21.09, 46.13, 295.51°)
OKLaboklab(32.74% -0.0005 -0.12)
OKLCHoklch(32.74% 0.12 269.8)
XYZxyz(4.4157, 3.2692, 16.0179)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C71 #71631E
analogous
#1E5571 #1E2C71 #3A1E71
triadic
#1E2C71 #711E2C #2C711E
tetradic
#1E2C71 #711E55 #71631E #1E713A
square
#1E2C71 #711E55 #71631E #1E713A
split-complementary
#1E2C71 #713A1E #55711E
monochromatic
#060918 #111941 #1E2C71 #2B3FA1 #3E56CC

Accessibility & contrast

On white

12.70
#1E2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C71
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C71#FFFFFF#000000##FFFFFF
##1E2C711.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2c71;
/* rgb */ color: rgb(30, 44, 113);
/* oklch */ color: oklch(32.7% 0.120 269.8);
Tailwind
colors: {
  custom: {
    50: '#66649a',
    500: '#1e2c71',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c71;
$custom-light: #66649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c71",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 229.88,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32739,
    "c": 0.12,
    "h": 269.8
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#1E2C71
secondary
#A59546
accent
#C747E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1E2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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