#1E2C7A#1E2C7A

#1E2C7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.133 H 269.8°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#1E2C7A
RGBrgb(30, 44, 122)
HSLhsl(231, 61%, 30%)
HSVhsv(231, 75%, 48%)
CMYKcmyk(75.4%, 63.9%, 0%, 52.2%)
CIE-LABlab(21.88, 23.42, -46.10)
CIE-LCHlch(21.88, 51.71, 296.93°)
OKLaboklab(33.57% -0.0005 -0.1331)
OKLCHoklch(33.57% 0.133 269.8)
XYZxyz(4.9478, 3.4820, 18.8199)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C7A #7A6C1E
analogous
#1E5A7A #1E2C7A #3E1E7A
triadic
#1E2C7A #7A1E2C #2C7A1E
tetradic
#1E2C7A #7A1E5A #7A6C1E #1E7A3E
square
#1E2C7A #7A1E5A #7A6C1E #1E7A3E
split-complementary
#1E2C7A #7A3E1E #5A7A1E
monochromatic
#060919 #121A49 #1E2C7A #2A3EAB #4258D0

Accessibility & contrast

On white

12.38
#1E2C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E2C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C7A
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C7A#FFFFFF#000000##FFFFFF
##1E2C7A1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2c7a;
/* rgb */ color: rgb(30, 44, 122);
/* oklch */ color: oklch(33.6% 0.133 269.8);
Tailwind
colors: {
  custom: {
    50: '#6865a1',
    500: '#1e2c7a',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c7a;
$custom-light: #6865a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c7a",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 230.87,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3357,
    "c": 0.13313,
    "h": 269.8
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#1E2C7A
secondary
#AE9E46
accent
#CB44E4
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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