#1B2B82#1B2B82

#1B2B82 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.147 H 268.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1B2B82
RGBrgb(27, 43, 130)
HSLhsl(231, 66%, 31%)
HSVhsv(231, 79%, 51%)
CMYKcmyk(79.2%, 66.9%, 0%, 49%)
CIE-LABlab(22.20, 26.88, -50.64)
CIE-LCHlch(22.20, 57.33, 297.96°)
OKLaboklab(33.99% -0.0031 -0.1465)
OKLCHoklch(33.99% 0.147 268.8)
XYZxyz(5.3437, 3.5719, 21.5226)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B82 #82721B
analogous
#1B5E82 #1B2B82 #3F1B82
triadic
#1B2B82 #821B2B #2B821B
tetradic
#1B2B82 #821B5E #82721B #1B823F
square
#1B2B82 #821B5E #82721B #1B823F
split-complementary
#1B2B82 #823F1B #5E821B
monochromatic
#06091D #101A4F #1B2B82 #263CB5 #4058D7

Accessibility & contrast

On white

12.25
#1B2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1B2B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B82
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B82#FFFFFF#000000##FFFFFF
##1B2B821.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2b82;
/* rgb */ color: rgb(27, 43, 130);
/* oklch */ color: oklch(34.0% 0.147 268.8);
Tailwind
colors: {
  custom: {
    50: '#6a64a7',
    500: '#1b2b82',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b82;
$custom-light: #6a64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b82",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 230.68,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33995,
    "c": 0.14653,
    "h": 268.8
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#1B2B82
secondary
#B6A443
accent
#CE3FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #1B2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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