#1E2F74#1E2F74

#1E2F74 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.6% C 0.120 H 268.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1E2F74
RGBrgb(30, 47, 116)
HSLhsl(228, 59%, 29%)
HSVhsv(228, 74%, 45%)
CMYKcmyk(74.1%, 59.5%, 0%, 54.5%)
CIE-LABlab(22.19, 18.94, -41.76)
CIE-LCHlch(22.19, 45.85, 294.39°)
OKLaboklab(33.64% -0.003 -0.1203)
OKLCHoklch(33.64% 0.12 268.6)
XYZxyz(4.7032, 3.5695, 16.9607)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F74 #74631E
analogous
#1E5A74 #1E2F74 #381E74
triadic
#1E2F74 #741E2F #2F741E
tetradic
#1E2F74 #741E5A #74631E #1E7438
square
#1E2F74 #741E5A #74631E #1E7438
split-complementary
#1E2F74 #74381E #5A741E
monochromatic
#060A18 #111B43 #1E2F74 #2B43A5 #3F5BCD

Accessibility & contrast

On white

12.25
#1E2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2F74
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F74#FFFFFF#000000##FFFFFF
##1E2F741.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2f74;
/* rgb */ color: rgb(30, 47, 116);
/* oklch */ color: oklch(33.6% 0.120 268.6);
Tailwind
colors: {
  custom: {
    50: '#67679d',
    500: '#1e2f74',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f74;
$custom-light: #67679d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f74",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 228.14,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33642,
    "c": 0.12039,
    "h": 268.6
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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