#1E2F72#1E2F72

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

Color values

HEX#1E2F72
RGBrgb(30, 47, 114)
HSLhsl(228, 58%, 28%)
HSVhsv(228, 74%, 45%)
CMYKcmyk(73.7%, 58.8%, 0%, 55.3%)
CIE-LABlab(22.03, 18.14, -40.75)
CIE-LCHlch(22.03, 44.60, 294.00°)
OKLaboklab(33.47% -0.0031 -0.1174)
OKLCHoklch(33.47% 0.117 268.5)
XYZxyz(4.5882, 3.5235, 16.3546)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F72 #72611E
analogous
#1E5972 #1E2F72 #371E72
triadic
#1E2F72 #721E2F #2F721E
tetradic
#1E2F72 #721E59 #72611E #1E7237
square
#1E2F72 #721E59 #72611E #1E7237
split-complementary
#1E2F72 #72371E #59721E
monochromatic
#060A18 #111B42 #1E2F72 #2B43A2 #3E5BCC

Accessibility & contrast

On white

12.32
#1E2F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2F72
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F72#FFFFFF#000000##FFFFFF
##1E2F721.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2f72;
/* rgb */ color: rgb(30, 47, 114);
/* oklch */ color: oklch(33.5% 0.117 268.5);
Tailwind
colors: {
  custom: {
    50: '#66679b',
    500: '#1e2f72',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f72;
$custom-light: #66679b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f72",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 227.857,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33467,
    "c": 0.11741,
    "h": 268.5
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#1E2F72
secondary
#A69346
accent
#C246E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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