#1B3380#1B3380

#1B3380 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.133 H 266.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#1B3380
RGBrgb(27, 51, 128)
HSLhsl(226, 65%, 30%)
HSVhsv(226, 79%, 50%)
CMYKcmyk(78.9%, 60.2%, 0%, 49.8%)
CIE-LABlab(24.19, 20.53, -46.13)
CIE-LCHlch(24.19, 50.49, 293.99°)
OKLaboklab(35.41% -0.0086 -0.1332)
OKLCHoklch(35.41% 0.133 266.3)
XYZxyz(5.5307, 4.1586, 20.9291)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3380 #80681B
analogous
#1B6580 #1B3380 #361B80
triadic
#1B3380 #801B33 #33801B
tetradic
#1B3380 #801B65 #80681B #1B8036
square
#1B3380 #801B65 #80681B #1B8036
split-complementary
#1B3380 #80361B #65801B
monochromatic
#060B1B #101F4D #1B3380 #2647B3 #3F63D6

Accessibility & contrast

On white

11.46
#1B3380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3380
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3380#FFFFFF#000000##FFFFFF
##1B33801.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3380;
/* rgb */ color: rgb(27, 51, 128);
/* oklch */ color: oklch(35.4% 0.133 266.3);
Tailwind
colors: {
  custom: {
    50: '#686aa6',
    500: '#1b3380',
    950: '#000000',
  },
}
SCSS
$custom: #1b3380;
$custom-light: #686aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3380",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 225.743,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35411,
    "c": 0.13348,
    "h": 266.3
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#1B3380
secondary
#B49943
accent
#C040E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B3380

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

Preview Lab → · Contrast checker → · Palette generator →

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