#1E2C7F#1E2C7F

#1E2C7F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.140 H 269.7°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#1E2C7F
RGBrgb(30, 44, 127)
HSLhsl(231, 62%, 31%)
HSVhsv(231, 76%, 50%)
CMYKcmyk(76.4%, 65.4%, 0%, 50.2%)
CIE-LABlab(22.33, 25.37, -48.52)
CIE-LCHlch(22.33, 54.76, 297.60°)
OKLaboklab(34.05% -0.0006 -0.1402)
OKLCHoklch(34.05% 0.14 269.7)
XYZxyz(5.2656, 3.6091, 20.4937)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C7F #7F711E
analogous
#1E5C7F #1E2C7F #401E7F
triadic
#1E2C7F #7F1E2C #2C7F1E
tetradic
#1E2C7F #7F1E5C #7F711E #1E7F40
square
#1E2C7F #7F1E5C #7F711E #1E7F40
split-complementary
#1E2C7F #7F401E #5C7F1E
monochromatic
#070A1C #121B4D #1E2C7F #2A3DB1 #4459D3

Accessibility & contrast

On white

12.20
#1E2C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E2C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C7F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C7F#FFFFFF#000000##FFFFFF
##1E2C7F1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2c7f;
/* rgb */ color: rgb(30, 44, 127);
/* oklch */ color: oklch(34.0% 0.140 269.7);
Tailwind
colors: {
  custom: {
    50: '#6a65a5',
    500: '#1e2c7f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c7f;
$custom-light: #6a65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c7f",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 231.34,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34047,
    "c": 0.14024,
    "h": 269.7
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#1E2C7F
secondary
#B2A347
accent
#CD43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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