#1B3084#1B3084

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

Color values

HEX#1B3084
RGBrgb(27, 48, 132)
HSLhsl(228, 66%, 31%)
HSVhsv(228, 80%, 52%)
CMYKcmyk(79.5%, 63.6%, 0%, 48.2%)
CIE-LABlab(23.71, 24.22, -49.42)
CIE-LCHlch(23.71, 55.04, 296.11°)
OKLaboklab(35.17% -0.0064 -0.1429)
OKLCHoklch(35.17% 0.143 267.4)
XYZxyz(5.6724, 4.0122, 22.3008)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3084 #846F1B
analogous
#1B6484 #1B3084 #3A1B84
triadic
#1B3084 #841B30 #30841B
tetradic
#1B3084 #841B64 #846F1B #1B843A
square
#1B3084 #841B64 #846F1B #1B843A
split-complementary
#1B3084 #843A1B #64841B
monochromatic
#060B1E #111E51 #1B3084 #2542B7 #415FD8

Accessibility & contrast

On white

11.65
#1B3084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1B3084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3084
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3084#FFFFFF#000000##FFFFFF
##1B30841.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b3084;
/* rgb */ color: rgb(27, 48, 132);
/* oklch */ color: oklch(35.2% 0.143 267.4);
Tailwind
colors: {
  custom: {
    50: '#6a68a9',
    500: '#1b3084',
    950: '#000000',
  },
}
SCSS
$custom: #1b3084;
$custom-light: #6a68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3084",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 228,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35165,
    "c": 0.14303,
    "h": 267.4
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#1B3084
secondary
#B7A043
accent
#C73FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3084

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

Preview Lab → · Contrast checker → · Palette generator →

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