#1E2F71#1E2F71

#1E2F71 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.116 H 268.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1E2F71
RGBrgb(30, 47, 113)
HSLhsl(228, 58%, 28%)
HSVhsv(228, 73%, 44%)
CMYKcmyk(73.5%, 58.4%, 0%, 55.7%)
CIE-LABlab(21.95, 17.74, -40.24)
CIE-LCHlch(21.95, 43.97, 293.79°)
OKLaboklab(33.38% -0.0031 -0.1159)
OKLCHoklch(33.38% 0.116 268.5)
XYZxyz(4.5315, 3.5008, 16.0565)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F71 #71601E
analogous
#1E5871 #1E2F71 #361E71
triadic
#1E2F71 #711E2F #2F711E
tetradic
#1E2F71 #711E58 #71601E #1E7136
square
#1E2F71 #711E58 #71601E #1E7136
split-complementary
#1E2F71 #71361E #58711E
monochromatic
#060A18 #111B41 #1E2F71 #2B43A1 #3E5BCC

Accessibility & contrast

On white

12.35
#1E2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2F71
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F71#FFFFFF#000000##FFFFFF
##1E2F711.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2f71;
/* rgb */ color: rgb(30, 47, 113);
/* oklch */ color: oklch(33.4% 0.116 268.5);
Tailwind
colors: {
  custom: {
    50: '#66679a',
    500: '#1e2f71',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f71;
$custom-light: #66679a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f71",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 227.711,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3338,
    "c": 0.11591,
    "h": 268.5
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#1E2F71
secondary
#A59246
accent
#C247E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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