#1B2684#1B2684

#1B2684 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.155 H 269.8°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#1B2684
RGBrgb(27, 38, 132)
HSLhsl(234, 66%, 31%)
HSVhsv(234, 80%, 52%)
CMYKcmyk(79.5%, 71.2%, 0%, 48.2%)
CIE-LABlab(21.15, 31.00, -53.63)
CIE-LCHlch(21.15, 61.94, 300.03°)
OKLaboklab(33.29% -0.0004 -0.1553)
OKLCHoklch(33.29% 0.155 269.8)
XYZxyz(5.3085, 3.2846, 22.1795)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2684 #84791B
analogous
#1B5A84 #1B2684 #441B84
triadic
#1B2684 #841B26 #26841B
tetradic
#1B2684 #841B5A #84791B #1B8444
square
#1B2684 #841B5A #84791B #1B8444
split-complementary
#1B2684 #84441B #5A841B
monochromatic
#06091E #111751 #1B2684 #2535B7 #4151D8

Accessibility & contrast

On white

12.67
#1B2684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1B2684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2684
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2684#FFFFFF#000000##FFFFFF
##1B26841.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2684;
/* rgb */ color: rgb(27, 38, 132);
/* oklch */ color: oklch(33.3% 0.155 269.8);
Tailwind
colors: {
  custom: {
    50: '#6b60a9',
    500: '#1b2684',
    950: '#000000',
  },
}
SCSS
$custom: #1b2684;
$custom-light: #6b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2684",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 233.714,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33288,
    "c": 0.15526,
    "h": 269.8
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

primary
#1B2684
secondary
#B7AB43
accent
#D73FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2684

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

Preview Lab → · Contrast checker → · Palette generator →

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