#1E2A75#1E2A75

#1E2A75 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.129 H 270.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#1E2A75
RGBrgb(30, 42, 117)
HSLhsl(232, 59%, 29%)
HSVhsv(232, 74%, 46%)
CMYKcmyk(74.4%, 64.1%, 0%, 54.1%)
CIE-LABlab(20.89, 22.86, -44.53)
CIE-LCHlch(20.89, 50.05, 297.17°)
OKLaboklab(32.7% 0.0012 -0.1285)
OKLCHoklch(32.7% 0.129 270.5)
XYZxyz(4.5732, 3.2158, 17.2059)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A75 #75691E
analogous
#1E5675 #1E2A75 #3E1E75
triadic
#1E2A75 #751E2A #2A751E
tetradic
#1E2A75 #751E56 #75691E #1E753E
square
#1E2A75 #751E56 #75691E #1E753E
split-complementary
#1E2A75 #753E1E #56751E
monochromatic
#060918 #121944 #1E2A75 #2A3BA6 #4053CE

Accessibility & contrast

On white

12.78
#1E2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E2A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A75
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A75#FFFFFF#000000##FFFFFF
##1E2A751.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2a75;
/* rgb */ color: rgb(30, 42, 117);
/* oklch */ color: oklch(32.7% 0.129 270.5);
Tailwind
colors: {
  custom: {
    50: '#67639d',
    500: '#1e2a75',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a75;
$custom-light: #67639d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a75",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 231.724,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32698,
    "c": 0.12855,
    "h": 270.5
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#1E2A75
secondary
#A99B46
accent
#CD45E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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