#1E2F73#1E2F73

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

Color values

HEX#1E2F73
RGBrgb(30, 47, 115)
HSLhsl(228, 59%, 28%)
HSVhsv(228, 74%, 45%)
CMYKcmyk(73.9%, 59.1%, 0%, 54.9%)
CIE-LABlab(22.11, 18.54, -41.25)
CIE-LCHlch(22.11, 45.23, 294.20°)
OKLaboklab(33.55% -0.003 -0.1189)
OKLCHoklch(33.55% 0.119 268.5)
XYZxyz(4.6454, 3.5464, 16.6560)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F73 #73621E
analogous
#1E5973 #1E2F73 #371E73
triadic
#1E2F73 #731E2F #2F731E
tetradic
#1E2F73 #731E59 #73621E #1E7337
square
#1E2F73 #731E59 #73621E #1E7337
split-complementary
#1E2F73 #73371E #59731E
monochromatic
#060A18 #111B42 #1E2F73 #2B43A4 #3F5BCD

Accessibility & contrast

On white

12.29
#1E2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F73
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F73#FFFFFF#000000##FFFFFF
##1E2F731.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2f73;
/* rgb */ color: rgb(30, 47, 115);
/* oklch */ color: oklch(33.6% 0.119 268.5);
Tailwind
colors: {
  custom: {
    50: '#66679c',
    500: '#1e2f73',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f73;
$custom-light: #66679c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f73",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 228,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33554,
    "c": 0.1189,
    "h": 268.5
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#1E2F73
secondary
#A79446
accent
#C346E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1E2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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