#1E2E70#1E2E70

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

Color values

HEX#1E2E70
RGBrgb(30, 46, 112)
HSLhsl(228, 58%, 28%)
HSVhsv(228, 73%, 44%)
CMYKcmyk(73.2%, 58.9%, 0%, 56.1%)
CIE-LABlab(21.58, 18.05, -40.20)
CIE-LCHlch(21.58, 44.06, 294.18°)
OKLaboklab(33.08% -0.0023 -0.1158)
OKLCHoklch(33.08% 0.116 268.9)
XYZxyz(4.4360, 3.3994, 15.7485)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E70 #70601E
analogous
#1E5770 #1E2E70 #371E70
triadic
#1E2E70 #701E2E #2E701E
tetradic
#1E2E70 #701E57 #70601E #1E7037
square
#1E2E70 #701E57 #70601E #1E7037
split-complementary
#1E2E70 #70371E #57701E
monochromatic
#060A18 #111A40 #1E2E70 #2B42A0 #3D59CB

Accessibility & contrast

On white

12.50
#1E2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2E70
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E70#FFFFFF#000000##FFFFFF
##1E2E701.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2e70;
/* rgb */ color: rgb(30, 46, 112);
/* oklch */ color: oklch(33.1% 0.116 268.9);
Tailwind
colors: {
  custom: {
    50: '#66669a',
    500: '#1e2e70',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e70;
$custom-light: #66669a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e70",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 228.293,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33076,
    "c": 0.11578,
    "h": 268.9
  },
  "luminance": 0.034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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