#1E2B7C#1E2B7C

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

Color values

HEX#1E2B7C
RGBrgb(30, 43, 124)
HSLhsl(232, 61%, 30%)
HSVhsv(232, 76%, 49%)
CMYKcmyk(75.8%, 65.3%, 0%, 51.4%)
CIE-LABlab(21.79, 24.89, -47.51)
CIE-LCHlch(21.79, 53.63, 297.65°)
OKLaboklab(33.56% 0.0002 -0.1373)
OKLCHoklch(33.56% 0.137 270.1)
XYZxyz(5.0361, 3.4585, 19.4670)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B7C #7C6F1E
analogous
#1E5A7C #1E2B7C #401E7C
triadic
#1E2B7C #7C1E2B #2B7C1E
tetradic
#1E2B7C #7C1E5A #7C6F1E #1E7C40
square
#1E2B7C #7C1E5A #7C6F1E #1E7C40
split-complementary
#1E2B7C #7C401E #5A7C1E
monochromatic
#060919 #121A4B #1E2B7C #2A3CAD #4357D1

Accessibility & contrast

On white

12.41
#1E2B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E2B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B7C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B7C#FFFFFF#000000##FFFFFF
##1E2B7C1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2b7c;
/* rgb */ color: rgb(30, 43, 124);
/* oklch */ color: oklch(33.6% 0.137 270.1);
Tailwind
colors: {
  custom: {
    50: '#6964a3',
    500: '#1e2b7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b7c;
$custom-light: #6964a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b7c",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 231.702,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33563,
    "c": 0.13727,
    "h": 270.1
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#1E2B7C
secondary
#AFA146
accent
#CE44E4
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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