#1B3082#1B3082

#1B3082 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.140 H 267.4°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#1B3082
RGBrgb(27, 48, 130)
HSLhsl(228, 66%, 31%)
HSVhsv(228, 79%, 51%)
CMYKcmyk(79.2%, 63.1%, 0%, 49%)
CIE-LABlab(23.53, 23.43, -48.46)
CIE-LCHlch(23.53, 53.83, 295.80°)
OKLaboklab(34.98% -0.0064 -0.1401)
OKLCHoklch(34.98% 0.14 267.4)
XYZxyz(5.5368, 3.9580, 21.5869)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3082 #826D1B
analogous
#1B6382 #1B3082 #391B82
triadic
#1B3082 #821B30 #30821B
tetradic
#1B3082 #821B63 #826D1B #1B8239
square
#1B3082 #821B63 #826D1B #1B8239
split-complementary
#1B3082 #82391B #63821B
monochromatic
#060B1D #101D4F #1B3082 #2643B5 #405FD7

Accessibility & contrast

On white

11.72
#1B3082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B3082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3082
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3082#FFFFFF#000000##FFFFFF
##1B30821.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b3082;
/* rgb */ color: rgb(27, 48, 130);
/* oklch */ color: oklch(35.0% 0.140 267.4);
Tailwind
colors: {
  custom: {
    50: '#6968a7',
    500: '#1b3082',
    950: '#000000',
  },
}
SCSS
$custom: #1b3082;
$custom-light: #6968a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3082",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 227.767,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34976,
    "c": 0.14022,
    "h": 267.4
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#1B3082
secondary
#B69E43
accent
#C63FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B3082

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

Preview Lab → · Contrast checker → · Palette generator →

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