#1B2982#1B2982

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

Color values

HEX#1B2982
RGBrgb(27, 41, 130)
HSLhsl(232, 66%, 31%)
HSVhsv(232, 79%, 51%)
CMYKcmyk(79.2%, 68.5%, 0%, 49%)
CIE-LABlab(21.69, 28.24, -51.48)
CIE-LCHlch(21.69, 58.72, 298.75°)
OKLaboklab(33.62% -0.0019 -0.149)
OKLCHoklch(33.62% 0.149 269.3)
XYZxyz(5.2728, 3.4300, 21.4989)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2982 #82741B
analogous
#1B5C82 #1B2982 #401B82
triadic
#1B2982 #821B29 #29821B
tetradic
#1B2982 #821B5C #82741B #1B8240
square
#1B2982 #821B5C #82741B #1B8240
split-complementary
#1B2982 #82401B #5C821B
monochromatic
#06091D #10194F #1B2982 #2639B5 #4055D7

Accessibility & contrast

On white

12.45
#1B2982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B2982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2982
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2982#FFFFFF#000000##FFFFFF
##1B29821.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2982;
/* rgb */ color: rgb(27, 41, 130);
/* oklch */ color: oklch(33.6% 0.149 269.3);
Tailwind
colors: {
  custom: {
    50: '#6a62a7',
    500: '#1b2982',
    950: '#000000',
  },
}
SCSS
$custom: #1b2982;
$custom-light: #6a62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2982",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 231.845,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3362,
    "c": 0.14899,
    "h": 269.3
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#1B2982
secondary
#B6A643
accent
#D23FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #1B2982

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

Preview Lab → · Contrast checker → · Palette generator →

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