#1E2C8C#1E2C8C

#1E2C8C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.158 H 269.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#1E2C8C
RGBrgb(30, 44, 140)
HSLhsl(232, 65%, 33%)
HSVhsv(232, 79%, 55%)
CMYKcmyk(78.6%, 68.6%, 0%, 45.1%)
CIE-LABlab(23.57, 30.36, -54.64)
CIE-LCHlch(23.57, 62.51, 299.05°)
OKLaboklab(35.33% -0.0014 -0.1581)
OKLCHoklch(35.33% 0.158 269.5)
XYZxyz(6.1681, 3.9702, 25.2471)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C8C #8C7E1E
analogous
#1E638C #1E2C8C #471E8C
triadic
#1E2C8C #8C1E2C #2C8C1E
tetradic
#1E2C8C #8C1E63 #8C7E1E #1E8C47
square
#1E2C8C #8C1E63 #8C7E1E #1E8C47
split-complementary
#1E2C8C #8C471E #638C1E
monochromatic
#080C27 #131C5A #1E2C8C #293CBE #4C5ED9

Accessibility & contrast

On white

11.70
#1E2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1E2C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C8C
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C8C#FFFFFF#000000##FFFFFF
##1E2C8C1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2c8c;
/* rgb */ color: rgb(30, 44, 140);
/* oklch */ color: oklch(35.3% 0.158 269.5);
Tailwind
colors: {
  custom: {
    50: '#6d65af',
    500: '#1e2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c8c;
$custom-light: #6d65af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c8c",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 232.364,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35333,
    "c": 0.15815,
    "h": 269.5
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#1E2C8C
secondary
#BBAD4B
accent
#D240E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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