#1E2F97#1E2F97

#1E2F97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.169 H 268.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#1E2F97
RGBrgb(30, 47, 151)
HSLhsl(232, 67%, 35%)
HSVhsv(232, 80%, 59%)
CMYKcmyk(80.1%, 68.9%, 0%, 40.8%)
CIE-LABlab(25.39, 32.53, -58.45)
CIE-LCHlch(25.39, 66.89, 299.10°)
OKLaboklab(36.99% -0.0039 -0.1693)
OKLCHoklch(36.99% 0.169 268.7)
XYZxyz(7.1359, 4.5426, 29.7729)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F97 #97861E
analogous
#1E6B97 #1E2F97 #491E97
triadic
#1E2F97 #971E2F #2F971E
tetradic
#1E2F97 #971E6B #97861E #1E9749
square
#1E2F97 #971E6B #97861E #1E9749
split-complementary
#1E2F97 #97491E #6B971E
monochromatic
#0A0F31 #141F64 #1E2F97 #283FCA #5366DD

Accessibility & contrast

On white

11.00
#1E2F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1E2F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F97
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F97#FFFFFF#000000##FFFFFF
##1E2F971.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e2f97;
/* rgb */ color: rgb(30, 47, 151);
/* oklch */ color: oklch(37.0% 0.169 268.7);
Tailwind
colors: {
  custom: {
    50: '#7067b7',
    500: '#1e2f97',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f97;
$custom-light: #7067b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f97",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 231.57,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36985,
    "c": 0.1693,
    "h": 268.7
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#1E2F97
secondary
#C0B051
accent
#D23EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1E2F97

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

Preview Lab → · Contrast checker → · Palette generator →

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