#1E2B77#1E2B77

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

Color values

HEX#1E2B77
RGBrgb(30, 43, 119)
HSLhsl(231, 60%, 29%)
HSVhsv(231, 75%, 47%)
CMYKcmyk(74.8%, 63.9%, 0%, 53.3%)
CIE-LABlab(21.34, 22.94, -45.07)
CIE-LCHlch(21.34, 50.57, 296.98°)
OKLaboklab(33.09% 0.0004 -0.1301)
OKLCHoklch(33.09% 0.13 270.2)
XYZxyz(4.7279, 3.3352, 17.8438)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B77 #776A1E
analogous
#1E5877 #1E2B77 #3E1E77
triadic
#1E2B77 #771E2B #2B771E
tetradic
#1E2B77 #771E58 #776A1E #1E773E
square
#1E2B77 #771E58 #776A1E #1E773E
split-complementary
#1E2B77 #773E1E #58771E
monochromatic
#060918 #121946 #1E2B77 #2A3DA8 #4055CF

Accessibility & contrast

On white

12.60
#1E2B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E2B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B77
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B77#FFFFFF#000000##FFFFFF
##1E2B771.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2b77;
/* rgb */ color: rgb(30, 43, 119);
/* oklch */ color: oklch(33.1% 0.130 270.2);
Tailwind
colors: {
  custom: {
    50: '#68649f',
    500: '#1e2b77',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b77;
$custom-light: #68649f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b77",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 231.236,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33087,
    "c": 0.13012,
    "h": 270.2
  },
  "luminance": 0.03336
}

Semantic roles & 50–950 ramp

primary
#1E2B77
secondary
#AB9C46
accent
#CC45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2B77

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

Preview Lab → · Contrast checker → · Palette generator →

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