#1E2D7F#1E2D7F

#1E2D7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.139 H 269.4°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#1E2D7F
RGBrgb(30, 45, 127)
HSLhsl(231, 62%, 31%)
HSVhsv(231, 76%, 50%)
CMYKcmyk(76.4%, 64.6%, 0%, 50.2%)
CIE-LABlab(22.60, 24.68, -48.09)
CIE-LCHlch(22.60, 54.05, 297.17°)
OKLaboklab(34.24% -0.0013 -0.1389)
OKLCHoklch(34.24% 0.139 269.4)
XYZxyz(5.3033, 3.6845, 20.5063)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D7F #7F701E
analogous
#1E5D7F #1E2D7F #401E7F
triadic
#1E2D7F #7F1E2D #2D7F1E
tetradic
#1E2D7F #7F1E5D #7F701E #1E7F40
square
#1E2D7F #7F1E5D #7F701E #1E7F40
split-complementary
#1E2D7F #7F401E #5D7F1E
monochromatic
#070A1C #121B4D #1E2D7F #2A3FB1 #445AD3

Accessibility & contrast

On white

12.09
#1E2D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E2D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D7F
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D7F#FFFFFF#000000##FFFFFF
##1E2D7F1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2d7f;
/* rgb */ color: rgb(30, 45, 127);
/* oklch */ color: oklch(34.2% 0.139 269.4);
Tailwind
colors: {
  custom: {
    50: '#6a65a5',
    500: '#1e2d7f',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d7f;
$custom-light: #6a65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d7f",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 230.722,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34243,
    "c": 0.13896,
    "h": 269.4
  },
  "luminance": 0.03685
}

Semantic roles & 50–950 ramp

primary
#1E2D7F
secondary
#B2A247
accent
#CC43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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