#1E2F95#1E2F95

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

Color values

HEX#1E2F95
RGBrgb(30, 47, 149)
HSLhsl(231, 66%, 35%)
HSVhsv(231, 80%, 58%)
CMYKcmyk(79.9%, 68.5%, 0%, 41.6%)
CIE-LABlab(25.19, 31.78, -57.55)
CIE-LCHlch(25.19, 65.74, 298.91°)
OKLaboklab(36.78% -0.0038 -0.1666)
OKLCHoklch(36.78% 0.167 268.7)
XYZxyz(6.9749, 4.4782, 28.9247)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F95 #95841E
analogous
#1E6A95 #1E2F95 #491E95
triadic
#1E2F95 #951E2F #2F951E
tetradic
#1E2F95 #951E6A #95841E #1E9549
square
#1E2F95 #951E6A #95841E #1E9549
split-complementary
#1E2F95 #95491E #6A951E
monochromatic
#090F2F #141F62 #1E2F95 #283FC8 #5165DC

Accessibility & contrast

On white

11.08
#1E2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1E2F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F95
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F95#FFFFFF#000000##FFFFFF
##1E2F951.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e2f95;
/* rgb */ color: rgb(30, 47, 149);
/* oklch */ color: oklch(36.8% 0.167 268.7);
Tailwind
colors: {
  custom: {
    50: '#6f67b5',
    500: '#1e2f95',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f95;
$custom-light: #6f67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f95",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 231.429,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36782,
    "c": 0.16665,
    "h": 268.7
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#1E2F95
secondary
#BFAF50
accent
#D13EE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1E2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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