#1B2482#1B2482

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

Color values

HEX#1B2482
RGBrgb(27, 36, 130)
HSLhsl(235, 66%, 31%)
HSVhsv(235, 79%, 51%)
CMYKcmyk(79.2%, 72.3%, 0%, 49%)
CIE-LABlab(20.46, 31.55, -53.50)
CIE-LCHlch(20.46, 62.11, 300.53°)
OKLaboklab(32.73% 0.0008 -0.1549)
OKLCHoklch(32.73% 0.155 270.3)
XYZxyz(5.1108, 3.1059, 21.4449)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2482 #82791B
analogous
#1B5782 #1B2482 #451B82
triadic
#1B2482 #821B24 #24821B
tetradic
#1B2482 #821B57 #82791B #1B8245
square
#1B2482 #821B57 #82791B #1B8245
split-complementary
#1B2482 #82451B #57821B
monochromatic
#06081D #10164F #1B2482 #2632B5 #404DD7

Accessibility & contrast

On white

12.95
#1B2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2482
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2482#FFFFFF#000000##FFFFFF
##1B24821.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2482;
/* rgb */ color: rgb(27, 36, 130);
/* oklch */ color: oklch(32.7% 0.155 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a5fa7',
    500: '#1b2482',
    950: '#000000',
  },
}
SCSS
$custom: #1b2482;
$custom-light: #6a5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2482",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 234.757,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32729,
    "c": 0.15488,
    "h": 270.3
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#1B2482
secondary
#B6AC43
accent
#DA3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1B2482

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

Preview Lab → · Contrast checker → · Palette generator →

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