#1B2682#1B2682

#1B2682 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.153 H 269.9°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#1B2682
RGBrgb(27, 38, 130)
HSLhsl(234, 66%, 31%)
HSVhsv(234, 79%, 51%)
CMYKcmyk(79.2%, 70.8%, 0%, 49%)
CIE-LABlab(20.94, 30.24, -52.70)
CIE-LCHlch(20.94, 60.77, 299.85°)
OKLaboklab(33.08% -0.0002 -0.1526)
OKLCHoklch(33.08% 0.153 269.9)
XYZxyz(5.1730, 3.2304, 21.4657)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2682 #82771B
analogous
#1B5982 #1B2682 #431B82
triadic
#1B2682 #821B26 #26821B
tetradic
#1B2682 #821B59 #82771B #1B8243
square
#1B2682 #821B59 #82771B #1B8243
split-complementary
#1B2682 #82431B #59821B
monochromatic
#06081D #10174F #1B2682 #2635B5 #4050D7

Accessibility & contrast

On white

12.76
#1B2682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B2682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2682
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2682#FFFFFF#000000##FFFFFF
##1B26821.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2682;
/* rgb */ color: rgb(27, 38, 130);
/* oklch */ color: oklch(33.1% 0.153 269.9);
Tailwind
colors: {
  custom: {
    50: '#6a60a7',
    500: '#1b2682',
    950: '#000000',
  },
}
SCSS
$custom: #1b2682;
$custom-light: #6a60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2682",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 233.592,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33077,
    "c": 0.15257,
    "h": 269.9
  },
  "luminance": 0.03231
}

Semantic roles & 50–950 ramp

primary
#1B2682
secondary
#B6A943
accent
#D63FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2682

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

Preview Lab → · Contrast checker → · Palette generator →

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