#1B2680#1B2680

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

Color values

HEX#1B2680
RGBrgb(27, 38, 128)
HSLhsl(233, 65%, 30%)
HSVhsv(233, 79%, 50%)
CMYKcmyk(78.9%, 70.3%, 0%, 49.8%)
CIE-LABlab(20.74, 29.48, -51.78)
CIE-LCHlch(20.74, 59.58, 299.66°)
OKLaboklab(32.87% 0 -0.1499)
OKLCHoklch(32.87% 0.15 270)
XYZxyz(5.0401, 3.1772, 20.7655)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2680 #80751B
analogous
#1B5980 #1B2680 #421B80
triadic
#1B2680 #801B26 #26801B
tetradic
#1B2680 #801B59 #80751B #1B8042
square
#1B2680 #801B59 #80751B #1B8042
split-complementary
#1B2680 #80421B #59801B
monochromatic
#06081B #10174D #1B2680 #2635B3 #3F4FD6

Accessibility & contrast

On white

12.84
#1B2680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2680
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2680#FFFFFF#000000##FFFFFF
##1B26801.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2680;
/* rgb */ color: rgb(27, 38, 128);
/* oklch */ color: oklch(32.9% 0.150 270.0);
Tailwind
colors: {
  custom: {
    50: '#6a60a6',
    500: '#1b2680',
    950: '#000000',
  },
}
SCSS
$custom: #1b2680;
$custom-light: #6a60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2680",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 128
  },
  "hsl": {
    "h": 233.465,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32867,
    "c": 0.14986,
    "h": 270
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#1B2680
secondary
#B4A743
accent
#D640E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B2680

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

Preview Lab → · Contrast checker → · Palette generator →

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