#1E2D74#1E2D74

#1E2D74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.123 H 269.4°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#1E2D74
RGBrgb(30, 45, 116)
HSLhsl(230, 59%, 29%)
HSVhsv(230, 74%, 45%)
CMYKcmyk(74.1%, 61.2%, 0%, 54.5%)
CIE-LABlab(21.63, 20.35, -42.68)
CIE-LCHlch(21.63, 47.28, 295.49°)
OKLaboklab(33.22% -0.0013 -0.1231)
OKLCHoklch(33.22% 0.123 269.4)
XYZxyz(4.6251, 3.4133, 16.9347)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D74 #74651E
analogous
#1E5874 #1E2D74 #3A1E74
triadic
#1E2D74 #741E2D #2D741E
tetradic
#1E2D74 #741E58 #74651E #1E743A
square
#1E2D74 #741E58 #74651E #1E743A
split-complementary
#1E2D74 #743A1E #58741E
monochromatic
#060918 #111A43 #1E2D74 #2B40A5 #3F58CD

Accessibility & contrast

On white

12.48
#1E2D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D74
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D74#FFFFFF#000000##FFFFFF
##1E2D741.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2d74;
/* rgb */ color: rgb(30, 45, 116);
/* oklch */ color: oklch(33.2% 0.123 269.4);
Tailwind
colors: {
  custom: {
    50: '#67659d',
    500: '#1e2d74',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d74;
$custom-light: #67659d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d74",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 229.535,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3322,
    "c": 0.12309,
    "h": 269.4
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#1E2D74
secondary
#A89746
accent
#C746E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1E2D74

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

Preview Lab → · Contrast checker → · Palette generator →

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