#1B2382#1B2382

#1B2382 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.156 H 270.5°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#1B2382
RGBrgb(27, 35, 130)
HSLhsl(235, 66%, 31%)
HSVhsv(235, 79%, 51%)
CMYKcmyk(79.2%, 73.1%, 0%, 49%)
CIE-LABlab(20.23, 32.20, -53.88)
CIE-LCHlch(20.23, 62.77, 300.86°)
OKLaboklab(32.56% 0.0013 -0.156)
OKLCHoklch(32.56% 0.156 270.5)
XYZxyz(5.0809, 3.0462, 21.4350)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2382 #827A1B
analogous
#1B5682 #1B2382 #461B82
triadic
#1B2382 #821B23 #23821B
tetradic
#1B2382 #821B56 #827A1B #1B8246
square
#1B2382 #821B56 #827A1B #1B8246
split-complementary
#1B2382 #82461B #56821B
monochromatic
#06081D #10154F #1B2382 #2631B5 #404CD7

Accessibility & contrast

On white

13.05
#1B2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2382
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2382#FFFFFF#000000##FFFFFF
##1B23821.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.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: #1b2382;
/* rgb */ color: rgb(27, 35, 130);
/* oklch */ color: oklch(32.6% 0.156 270.5);
Tailwind
colors: {
  custom: {
    50: '#6a5ea7',
    500: '#1b2382',
    950: '#000000',
  },
}
SCSS
$custom: #1b2382;
$custom-light: #6a5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2382",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 235.34,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3256,
    "c": 0.15602,
    "h": 270.5
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#1B2382
secondary
#B6AD43
accent
#DB3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1B2382

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

Preview Lab → · Contrast checker → · Palette generator →

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