#1E2C8F#1E2C8F

#1E2C8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.162 H 269.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#1E2C8F
RGBrgb(30, 44, 143)
HSLhsl(233, 65%, 34%)
HSVhsv(233, 79%, 56%)
CMYKcmyk(79%, 69.2%, 0%, 43.9%)
CIE-LABlab(23.87, 31.49, -56.02)
CIE-LCHlch(23.87, 64.26, 299.34°)
OKLaboklab(35.64% -0.0017 -0.1622)
OKLCHoklch(35.64% 0.162 269.4)
XYZxyz(6.3923, 4.0598, 26.4280)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C8F #8F811E
analogous
#1E658F #1E2C8F #491E8F
triadic
#1E2C8F #8F1E2C #2C8F1E
tetradic
#1E2C8F #8F1E65 #8F811E #1E8F49
square
#1E2C8F #8F1E65 #8F811E #1E8F49
split-complementary
#1E2C8F #8F491E #658F1E
monochromatic
#090D2A #131C5C #1E2C8F #293CC2 #4E5FDA

Accessibility & contrast

On white

11.59
#1E2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C8F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C8F#FFFFFF#000000##FFFFFF
##1E2C8F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2c8f;
/* rgb */ color: rgb(30, 44, 143);
/* oklch */ color: oklch(35.6% 0.162 269.4);
Tailwind
colors: {
  custom: {
    50: '#6e65b1',
    500: '#1e2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c8f;
$custom-light: #6e65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c8f",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 232.566,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35638,
    "c": 0.16217,
    "h": 269.4
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#1E2C8F
secondary
#BCAF4C
accent
#D340E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1E2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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