#1E2B74#1E2B74

#1E2B74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.126 H 270.2°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#1E2B74
RGBrgb(30, 43, 116)
HSLhsl(231, 59%, 29%)
HSVhsv(231, 74%, 45%)
CMYKcmyk(74.1%, 62.9%, 0%, 54.5%)
CIE-LABlab(21.07, 21.76, -43.59)
CIE-LCHlch(21.07, 48.72, 296.53°)
OKLaboklab(32.81% 0.0004 -0.1258)
OKLCHoklch(32.81% 0.126 270.2)
XYZxyz(4.5506, 3.2643, 16.9099)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B74 #74671E
analogous
#1E5674 #1E2B74 #3C1E74
triadic
#1E2B74 #741E2B #2B741E
tetradic
#1E2B74 #741E56 #74671E #1E743C
square
#1E2B74 #741E56 #74671E #1E743C
split-complementary
#1E2B74 #743C1E #56741E
monochromatic
#060918 #111943 #1E2B74 #2B3DA5 #3F55CD

Accessibility & contrast

On white

12.70
#1E2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B74
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B74#FFFFFF#000000##FFFFFF
##1E2B741.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2b74;
/* rgb */ color: rgb(30, 43, 116);
/* oklch */ color: oklch(32.8% 0.126 270.2);
Tailwind
colors: {
  custom: {
    50: '#67649d',
    500: '#1e2b74',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b74;
$custom-light: #67649d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b74",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 230.93,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32807,
    "c": 0.12576,
    "h": 270.2
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#1E2B74
secondary
#A89946
accent
#CA46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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