#1E2F70#1E2F70

#1E2F70 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.114 H 268.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#1E2F70
RGBrgb(30, 47, 112)
HSLhsl(228, 58%, 28%)
HSVhsv(228, 73%, 44%)
CMYKcmyk(73.2%, 58%, 0%, 56.1%)
CIE-LABlab(21.87, 17.34, -39.73)
CIE-LCHlch(21.87, 43.34, 293.58°)
OKLaboklab(33.29% -0.0032 -0.1144)
OKLCHoklch(33.29% 0.114 268.4)
XYZxyz(4.4756, 3.4785, 15.7616)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F70 #705F1E
analogous
#1E5870 #1E2F70 #361E70
triadic
#1E2F70 #701E2F #2F701E
tetradic
#1E2F70 #701E58 #705F1E #1E7036
square
#1E2F70 #701E58 #705F1E #1E7036
split-complementary
#1E2F70 #70361E #58701E
monochromatic
#060A18 #111B40 #1E2F70 #2B43A0 #3D5BCB

Accessibility & contrast

On white

12.38
#1E2F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E2F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F70
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F70#FFFFFF#000000##FFFFFF
##1E2F701.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2f70;
/* rgb */ color: rgb(30, 47, 112);
/* oklch */ color: oklch(33.3% 0.114 268.4);
Tailwind
colors: {
  custom: {
    50: '#66679a',
    500: '#1e2f70',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f70;
$custom-light: #66679a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f70",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 227.561,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33293,
    "c": 0.11441,
    "h": 268.4
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#1E2F70
secondary
#A49146
accent
#C147E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E2F70

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

Preview Lab → · Contrast checker → · Palette generator →

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