#1E2C9F#1E2C9F

#1E2C9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.183 H 269.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#1E2C9F
RGBrgb(30, 44, 159)
HSLhsl(233, 68%, 37%)
HSVhsv(233, 81%, 62%)
CMYKcmyk(81.1%, 72.3%, 0%, 37.6%)
CIE-LABlab(25.50, 37.39, -63.16)
CIE-LCHlch(25.50, 73.39, 300.62°)
OKLaboklab(37.31% -0.0033 -0.183)
OKLCHoklch(37.31% 0.183 269)
XYZxyz(7.6920, 4.5797, 33.2727)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C9F #9F911E
analogous
#1E6D9F #1E2C9F #501E9F
triadic
#1E2C9F #9F1E2C #2C9F1E
tetradic
#1E2C9F #9F1E6D #9F911E #1E9F50
square
#1E2C9F #9F1E6D #9F911E #1E9F50
split-complementary
#1E2C9F #9F501E #6D9F1E
monochromatic
#0B1038 #141E6C #1E2C9F #283AD2 #5867DF

Accessibility & contrast

On white

10.96
#1E2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1E2C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C9F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C9F#FFFFFF#000000##FFFFFF
##1E2C9F1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e2c9f;
/* rgb */ color: rgb(30, 44, 159);
/* oklch */ color: oklch(37.3% 0.183 269.0);
Tailwind
colors: {
  custom: {
    50: '#7266bd',
    500: '#1e2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c9f;
$custom-light: #7266bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c9f",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 233.488,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37311,
    "c": 0.183,
    "h": 269
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#1E2C9F
secondary
#C3B756
accent
#D83DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1E2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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