#1B3086#1B3086

#1B3086 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.146 H 267.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#1B3086
RGBrgb(27, 48, 134)
HSLhsl(228, 66%, 32%)
HSVhsv(228, 80%, 53%)
CMYKcmyk(79.9%, 64.2%, 0%, 47.5%)
CIE-LABlab(23.89, 25.01, -50.38)
CIE-LCHlch(23.89, 56.25, 296.40°)
OKLaboklab(35.36% -0.0064 -0.1457)
OKLCHoklch(35.36% 0.146 267.5)
XYZxyz(5.8105, 4.0675, 23.0285)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3086 #86711B
analogous
#1B6686 #1B3086 #3C1B86
triadic
#1B3086 #861B30 #30861B
tetradic
#1B3086 #861B66 #86711B #1B863C
square
#1B3086 #861B66 #86711B #1B863C
split-complementary
#1B3086 #863C1B #66861B
monochromatic
#060C20 #111E53 #1B3086 #2542B9 #4260D9

Accessibility & contrast

On white

11.58
#1B3086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B3086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3086
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3086#FFFFFF#000000##FFFFFF
##1B30861.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3086;
/* rgb */ color: rgb(27, 48, 134);
/* oklch */ color: oklch(35.4% 0.146 267.5);
Tailwind
colors: {
  custom: {
    50: '#6a68aa',
    500: '#1b3086',
    950: '#000000',
  },
}
SCSS
$custom: #1b3086;
$custom-light: #6a68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3086",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 134
  },
  "hsl": {
    "h": 228.224,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35356,
    "c": 0.14584,
    "h": 267.5
  },
  "luminance": 0.04068
}

Semantic roles & 50–950 ramp

primary
#1B3086
secondary
#B9A244
accent
#C83EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B3086

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

Preview Lab → · Contrast checker → · Palette generator →

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