#1B2584#1B2584

#1B2584 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.156 H 270.0°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#1B2584
RGBrgb(27, 37, 132)
HSLhsl(234, 66%, 31%)
HSVhsv(234, 80%, 52%)
CMYKcmyk(79.5%, 72%, 0%, 48.2%)
CIE-LABlab(20.91, 31.65, -54.02)
CIE-LCHlch(20.91, 62.61, 300.37°)
OKLaboklab(33.12% 0.0001 -0.1564)
OKLCHoklch(33.12% 0.156 270)
XYZxyz(5.2770, 3.2215, 22.1690)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2584 #847A1B
analogous
#1B5984 #1B2584 #451B84
triadic
#1B2584 #841B25 #25841B
tetradic
#1B2584 #841B59 #847A1B #1B8445
square
#1B2584 #841B59 #847A1B #1B8445
split-complementary
#1B2584 #84451B #59841B
monochromatic
#06091E #111751 #1B2584 #2533B7 #4150D8

Accessibility & contrast

On white

12.77
#1B2584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1B2584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2584
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2584#FFFFFF#000000##FFFFFF
##1B25841.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2584;
/* rgb */ color: rgb(27, 37, 132);
/* oklch */ color: oklch(33.1% 0.156 270.0);
Tailwind
colors: {
  custom: {
    50: '#6b60a9',
    500: '#1b2584',
    950: '#000000',
  },
}
SCSS
$custom: #1b2584;
$custom-light: #6b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2584",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 234.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33115,
    "c": 0.15641,
    "h": 270
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#1B2584
secondary
#B7AC43
accent
#D93FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2584

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

Preview Lab → · Contrast checker → · Palette generator →

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