#1B3480#1B3480

#1B3480 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.132 H 266.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#1B3480
RGBrgb(27, 52, 128)
HSLhsl(225, 65%, 30%)
HSVhsv(225, 79%, 50%)
CMYKcmyk(78.9%, 59.4%, 0%, 49.8%)
CIE-LABlab(24.47, 19.82, -45.67)
CIE-LCHlch(24.47, 49.79, 293.46°)
OKLaboklab(35.62% -0.0093 -0.1318)
OKLCHoklch(35.62% 0.132 266)
XYZxyz(5.5749, 4.2469, 20.9438)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3480 #80671B
analogous
#1B6680 #1B3480 #351B80
triadic
#1B3480 #801B34 #34801B
tetradic
#1B3480 #801B66 #80671B #1B8035
square
#1B3480 #801B66 #80671B #1B8035
split-complementary
#1B3480 #80351B #66801B
monochromatic
#060B1B #101F4D #1B3480 #2649B3 #3F64D6

Accessibility & contrast

On white

11.35
#1B3480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1B3480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3480
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3480#FFFFFF#000000##FFFFFF
##1B34801.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b3480;
/* rgb */ color: rgb(27, 52, 128);
/* oklch */ color: oklch(35.6% 0.132 266.0);
Tailwind
colors: {
  custom: {
    50: '#686ba5',
    500: '#1b3480',
    950: '#000000',
  },
}
SCSS
$custom: #1b3480;
$custom-light: #686ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3480",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 128
  },
  "hsl": {
    "h": 225.149,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.13216,
    "h": 266
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#1B3480
secondary
#B49843
accent
#BE40E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B3480

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

Preview Lab → · Contrast checker → · Palette generator →

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