#1B2A82#1B2A82

#1B2A82 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.148 H 269.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1B2A82
RGBrgb(27, 42, 130)
HSLhsl(231, 66%, 31%)
HSVhsv(231, 79%, 51%)
CMYKcmyk(79.2%, 67.7%, 0%, 49%)
CIE-LABlab(21.94, 27.56, -51.06)
CIE-LCHlch(21.94, 58.02, 298.36°)
OKLaboklab(33.81% -0.0025 -0.1477)
OKLCHoklch(33.81% 0.148 269)
XYZxyz(5.3078, 3.5001, 21.5106)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A82 #82731B
analogous
#1B5D82 #1B2A82 #3F1B82
triadic
#1B2A82 #821B2A #2A821B
tetradic
#1B2A82 #821B5D #82731B #1B823F
square
#1B2A82 #821B5D #82731B #1B823F
split-complementary
#1B2A82 #823F1B #5D821B
monochromatic
#06091D #101A4F #1B2A82 #263AB5 #4056D7

Accessibility & contrast

On white

12.35
#1B2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1B2A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A82
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A82#FFFFFF#000000##FFFFFF
##1B2A821.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2a82;
/* rgb */ color: rgb(27, 42, 130);
/* oklch */ color: oklch(33.8% 0.148 269.0);
Tailwind
colors: {
  custom: {
    50: '#6a63a7',
    500: '#1b2a82',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a82;
$custom-light: #6a63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a82",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 231.262,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33806,
    "c": 0.14777,
    "h": 269
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#1B2A82
secondary
#B6A543
accent
#D03FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #1B2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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