#1B3485#1B3485

#1B3485 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.139 H 266.2°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#1B3485
RGBrgb(27, 52, 133)
HSLhsl(226, 66%, 31%)
HSVhsv(226, 80%, 52%)
CMYKcmyk(79.7%, 60.9%, 0%, 47.8%)
CIE-LABlab(24.90, 21.84, -48.12)
CIE-LCHlch(24.90, 52.84, 294.41°)
OKLaboklab(36.07% -0.0091 -0.139)
OKLCHoklch(36.07% 0.139 266.2)
XYZxyz(5.9121, 4.3818, 22.7199)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3485 #856C1B
analogous
#1B6985 #1B3485 #371B85
triadic
#1B3485 #851B34 #34851B
tetradic
#1B3485 #851B69 #856C1B #1B8537
square
#1B3485 #851B69 #856C1B #1B8537
split-complementary
#1B3485 #85371B #69851B
monochromatic
#060C1F #112052 #1B3485 #2548B8 #4265D9

Accessibility & contrast

On white

11.19
#1B3485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1B3485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3485
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3485#FFFFFF#000000##FFFFFF
##1B34851.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b3485;
/* rgb */ color: rgb(27, 52, 133);
/* oklch */ color: oklch(36.1% 0.139 266.2);
Tailwind
colors: {
  custom: {
    50: '#6a6ba9',
    500: '#1b3485',
    950: '#000000',
  },
}
SCSS
$custom: #1b3485;
$custom-light: #6a6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3485",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 133
  },
  "hsl": {
    "h": 225.849,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36073,
    "c": 0.13931,
    "h": 266.2
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#1B3485
secondary
#B89D44
accent
#C13FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3485

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

Preview Lab → · Contrast checker → · Palette generator →

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