#1E2F9D#1E2F9D

#1E2F9D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.177 H 268.6°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#1E2F9D
RGBrgb(30, 47, 157)
HSLhsl(232, 68%, 37%)
HSVhsv(232, 81%, 62%)
CMYKcmyk(80.9%, 70.1%, 0%, 38.4%)
CIE-LABlab(25.99, 34.76, -61.14)
CIE-LCHlch(25.99, 70.33, 299.62°)
OKLaboklab(37.6% -0.0044 -0.1771)
OKLCHoklch(37.6% 0.177 268.6)
XYZxyz(7.6356, 4.7425, 32.4047)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F9D #9D8C1E
analogous
#1E6E9D #1E2F9D #4D1E9D
triadic
#1E2F9D #9D1E2F #2F9D1E
tetradic
#1E2F9D #9D1E6E #9D8C1E #1E9D4D
square
#1E2F9D #9D1E6E #9D8C1E #1E9D4D
split-complementary
#1E2F9D #9D4D1E #6E9D1E
monochromatic
#0A1036 #14206A #1E2F9D #283ED0 #5769DF

Accessibility & contrast

On white

10.78
#1E2F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1E2F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F9D
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F9D#FFFFFF#000000##FFFFFF
##1E2F9D1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e2f9d;
/* rgb */ color: rgb(30, 47, 157);
/* oklch */ color: oklch(37.6% 0.177 268.6);
Tailwind
colors: {
  custom: {
    50: '#7168bb',
    500: '#1e2f9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f9d;
$custom-light: #7168bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f9d",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 231.969,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.376,
    "c": 0.17715,
    "h": 268.6
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#1E2F9D
secondary
#C2B454
accent
#D43DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E2F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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