#1B2580#1B2580

#1B2580 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.151 H 270.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1B2580
RGBrgb(27, 37, 128)
HSLhsl(234, 65%, 30%)
HSVhsv(234, 79%, 50%)
CMYKcmyk(78.9%, 71.1%, 0%, 49.8%)
CIE-LABlab(20.50, 30.15, -52.18)
CIE-LCHlch(20.50, 60.26, 300.02°)
OKLaboklab(32.69% 0.0005 -0.151)
OKLCHoklch(32.69% 0.151 270.2)
XYZxyz(5.0085, 3.1141, 20.7550)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2580 #80761B
analogous
#1B5880 #1B2580 #431B80
triadic
#1B2580 #801B25 #25801B
tetradic
#1B2580 #801B58 #80761B #1B8043
square
#1B2580 #801B58 #80761B #1B8043
split-complementary
#1B2580 #80431B #58801B
monochromatic
#06081B #10164D #1B2580 #2634B3 #3F4ED6

Accessibility & contrast

On white

12.94
#1B2580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1B2580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2580
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2580#FFFFFF#000000##FFFFFF
##1B25801.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2580;
/* rgb */ color: rgb(27, 37, 128);
/* oklch */ color: oklch(32.7% 0.151 270.2);
Tailwind
colors: {
  custom: {
    50: '#6a60a6',
    500: '#1b2580',
    950: '#000000',
  },
}
SCSS
$custom: #1b2580;
$custom-light: #6a60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2580",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 234.059,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3269,
    "c": 0.15104,
    "h": 270.2
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#1B2580
secondary
#B4A943
accent
#D740E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B2580

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

Preview Lab → · Contrast checker → · Palette generator →

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