#1E2B8C#1E2B8C

#1E2B8C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.159 H 269.7°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1E2B8C
RGBrgb(30, 43, 140)
HSLhsl(233, 65%, 33%)
HSVhsv(233, 79%, 55%)
CMYKcmyk(78.6%, 69.3%, 0%, 45.1%)
CIE-LABlab(23.33, 31.02, -55.05)
CIE-LCHlch(23.33, 63.18, 299.40°)
OKLaboklab(35.15% -0.0008 -0.1593)
OKLCHoklch(35.15% 0.159 269.7)
XYZxyz(6.1313, 3.8965, 25.2348)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B8C #8C7F1E
analogous
#1E628C #1E2B8C #481E8C
triadic
#1E2B8C #8C1E2B #2B8C1E
tetradic
#1E2B8C #8C1E62 #8C7F1E #1E8C48
square
#1E2B8C #8C1E62 #8C7F1E #1E8C48
split-complementary
#1E2B8C #8C481E #628C1E
monochromatic
#080C27 #131C5A #1E2B8C #293ABE #4C5CD9

Accessibility & contrast

On white

11.80
#1E2B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1E2B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B8C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B8C#FFFFFF#000000##FFFFFF
##1E2B8C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2b8c;
/* rgb */ color: rgb(30, 43, 140);
/* oklch */ color: oklch(35.2% 0.159 269.7);
Tailwind
colors: {
  custom: {
    50: '#6d64af',
    500: '#1e2b8c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b8c;
$custom-light: #6d64af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b8c",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 140
  },
  "hsl": {
    "h": 232.909,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35154,
    "c": 0.15933,
    "h": 269.7
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

primary
#1E2B8C
secondary
#BBAE4B
accent
#D440E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1E2B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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