#1B1E79#1B1E79

#1B1E79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.150 H 272.0°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#1B1E79
RGBrgb(27, 30, 121)
HSLhsl(238, 64%, 29%)
HSVhsv(238, 78%, 47%)
CMYKcmyk(77.7%, 75.2%, 0%, 52.5%)
CIE-LABlab(18.11, 32.06, -51.66)
CIE-LCHlch(18.11, 60.80, 301.83°)
OKLaboklab(30.75% 0.0052 -0.1495)
OKLCHoklch(30.75% 0.15 272)
XYZxyz(4.3663, 2.5416, 18.3459)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1E79 #79761B
analogous
#1B4D79 #1B1E79 #471B79
triadic
#1B1E79 #791B1E #1E791B
tetradic
#1B1E79 #791B4D #79761B #1B7947
square
#1B1E79 #791B4D #79761B #1B7947
split-complementary
#1B1E79 #79471B #4D791B
monochromatic
#060619 #101247 #1B1E79 #262AAB #3B40D3

Accessibility & contrast

On white

13.92
#1B1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1B1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1E79
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1E79#FFFFFF#000000##FFFFFF
##1B1E791.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b1e79;
/* rgb */ color: rgb(27, 30, 121);
/* oklch */ color: oklch(30.7% 0.150 272.0);
Tailwind
colors: {
  custom: {
    50: '#685ba1',
    500: '#1b1e79',
    950: '#000000',
  },
}
SCSS
$custom: #1b1e79;
$custom-light: #685ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1e79",
  "rgb": {
    "r": 27,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 238.085,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30747,
    "c": 0.14961,
    "h": 272
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#1B1E79
secondary
#ADAA43
accent
#E141E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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