#1B3282#1B3282

#1B3282 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.138 H 266.8°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#1B3282
RGBrgb(27, 50, 130)
HSLhsl(227, 66%, 31%)
HSVhsv(227, 79%, 51%)
CMYKcmyk(79.2%, 61.5%, 0%, 49%)
CIE-LABlab(24.08, 22.03, -47.56)
CIE-LCHlch(24.08, 52.42, 294.85°)
OKLaboklab(35.39% -0.0078 -0.1374)
OKLCHoklch(35.39% 0.138 266.8)
XYZxyz(5.6205, 4.1253, 21.6148)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3282 #826B1B
analogous
#1B6582 #1B3282 #371B82
triadic
#1B3282 #821B32 #32821B
tetradic
#1B3282 #821B65 #826B1B #1B8237
square
#1B3282 #821B65 #826B1B #1B8237
split-complementary
#1B3282 #82371B #65821B
monochromatic
#060B1D #101F4F #1B3282 #2645B5 #4062D7

Accessibility & contrast

On white

11.51
#1B3282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1B3282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3282
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3282#FFFFFF#000000##FFFFFF
##1B32821.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3282;
/* rgb */ color: rgb(27, 50, 130);
/* oklch */ color: oklch(35.4% 0.138 266.8);
Tailwind
colors: {
  custom: {
    50: '#6969a7',
    500: '#1b3282',
    950: '#000000',
  },
}
SCSS
$custom: #1b3282;
$custom-light: #6969a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3282",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 226.602,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35385,
    "c": 0.13764,
    "h": 266.8
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#1B3282
secondary
#B69C43
accent
#C33FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B3282

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

Preview Lab → · Contrast checker → · Palette generator →

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