#1E2E71#1E2E71

#1E2E71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.117 H 268.9°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#1E2E71
RGBrgb(30, 46, 113)
HSLhsl(228, 58%, 28%)
HSVhsv(228, 73%, 44%)
CMYKcmyk(73.5%, 59.3%, 0%, 55.7%)
CIE-LABlab(21.66, 18.45, -40.70)
CIE-LCHlch(21.66, 44.69, 294.38°)
OKLaboklab(33.16% -0.0022 -0.1173)
OKLCHoklch(33.16% 0.117 268.9)
XYZxyz(4.4920, 3.4218, 16.0433)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E71 #71611E
analogous
#1E5771 #1E2E71 #371E71
triadic
#1E2E71 #711E2E #2E711E
tetradic
#1E2E71 #711E57 #71611E #1E7137
square
#1E2E71 #711E57 #71611E #1E7137
split-complementary
#1E2E71 #71371E #57711E
monochromatic
#060A18 #111A41 #1E2E71 #2B42A1 #3E59CC

Accessibility & contrast

On white

12.47
#1E2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2E71
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E71#FFFFFF#000000##FFFFFF
##1E2E711.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2e71;
/* rgb */ color: rgb(30, 46, 113);
/* oklch */ color: oklch(33.2% 0.117 268.9);
Tailwind
colors: {
  custom: {
    50: '#66669a',
    500: '#1e2e71',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e71;
$custom-light: #66669a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e71",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 228.434,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.11728,
    "h": 268.9
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

primary
#1E2E71
secondary
#A59346
accent
#C347E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1E2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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