#1B3284#1B3284

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

Color values

HEX#1B3284
RGBrgb(27, 50, 132)
HSLhsl(227, 66%, 31%)
HSVhsv(227, 80%, 52%)
CMYKcmyk(79.5%, 62.1%, 0%, 48.2%)
CIE-LABlab(24.26, 22.83, -48.53)
CIE-LCHlch(24.26, 53.64, 295.19°)
OKLaboklab(35.57% -0.0078 -0.1403)
OKLCHoklch(35.57% 0.14 266.8)
XYZxyz(5.7560, 4.1795, 22.3287)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3284 #846D1B
analogous
#1B6684 #1B3284 #381B84
triadic
#1B3284 #841B32 #32841B
tetradic
#1B3284 #841B66 #846D1B #1B8438
square
#1B3284 #841B66 #846D1B #1B8438
split-complementary
#1B3284 #84381B #66841B
monochromatic
#060C1E #111F51 #1B3284 #2545B7 #4162D8

Accessibility & contrast

On white

11.44
#1B3284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1B3284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3284
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3284#FFFFFF#000000##FFFFFF
##1B32841.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b3284;
/* rgb */ color: rgb(27, 50, 132);
/* oklch */ color: oklch(35.6% 0.140 266.8);
Tailwind
colors: {
  custom: {
    50: '#6969a9',
    500: '#1b3284',
    950: '#000000',
  },
}
SCSS
$custom: #1b3284;
$custom-light: #6969a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3284",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 226.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35569,
    "c": 0.14047,
    "h": 266.8
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#1B3284
secondary
#B79E43
accent
#C43FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3284

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

Preview Lab → · Contrast checker → · Palette generator →

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