#1B2980#1B2980

#1B2980 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.146 H 269.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1B2980
RGBrgb(27, 41, 128)
HSLhsl(232, 65%, 30%)
HSVhsv(232, 79%, 50%)
CMYKcmyk(78.9%, 68%, 0%, 49.8%)
CIE-LABlab(21.49, 27.47, -50.54)
CIE-LCHlch(21.49, 57.52, 298.52°)
OKLaboklab(33.42% -0.0018 -0.1462)
OKLCHoklch(33.42% 0.146 269.3)
XYZxyz(5.1399, 3.3768, 20.7988)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2980 #80721B
analogous
#1B5B80 #1B2980 #3F1B80
triadic
#1B2980 #801B29 #29801B
tetradic
#1B2980 #801B5B #80721B #1B803F
square
#1B2980 #801B5B #80721B #1B803F
split-complementary
#1B2980 #803F1B #5B801B
monochromatic
#06091B #10194D #1B2980 #2639B3 #3F54D6

Accessibility & contrast

On white

12.53
#1B2980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B2980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2980
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2980#FFFFFF#000000##FFFFFF
##1B29801.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2980;
/* rgb */ color: rgb(27, 41, 128);
/* oklch */ color: oklch(33.4% 0.146 269.3);
Tailwind
colors: {
  custom: {
    50: '#6962a6',
    500: '#1b2980',
    950: '#000000',
  },
}
SCSS
$custom: #1b2980;
$custom-light: #6962a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2980",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 231.683,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33417,
    "c": 0.14624,
    "h": 269.3
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#1B2980
secondary
#B4A443
accent
#D140E8
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B2980

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

Preview Lab → · Contrast checker → · Palette generator →

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