#1B2686#1B2686

#1B2686 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.158 H 269.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#1B2686
RGBrgb(27, 38, 134)
HSLhsl(234, 66%, 32%)
HSVhsv(234, 80%, 53%)
CMYKcmyk(79.9%, 71.6%, 0%, 47.5%)
CIE-LABlab(21.36, 31.75, -54.54)
CIE-LCHlch(21.36, 63.11, 300.20°)
OKLaboklab(33.5% -0.0007 -0.1579)
OKLCHoklch(33.5% 0.158 269.8)
XYZxyz(5.4467, 3.3399, 22.9072)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2686 #867B1B
analogous
#1B5C86 #1B2686 #461B86
triadic
#1B2686 #861B26 #26861B
tetradic
#1B2686 #861B5C #867B1B #1B8646
square
#1B2686 #861B5C #867B1B #1B8646
split-complementary
#1B2686 #86461B #5C861B
monochromatic
#060920 #111853 #1B2686 #2534B9 #4252D9

Accessibility & contrast

On white

12.59
#1B2686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1B2686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2686
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2686#FFFFFF#000000##FFFFFF
##1B26861.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2686;
/* rgb */ color: rgb(27, 38, 134);
/* oklch */ color: oklch(33.5% 0.158 269.8);
Tailwind
colors: {
  custom: {
    50: '#6b61aa',
    500: '#1b2686',
    950: '#000000',
  },
}
SCSS
$custom: #1b2686;
$custom-light: #6b61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2686",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 233.832,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.335,
    "c": 0.15793,
    "h": 269.8
  },
  "luminance": 0.0334
}

Semantic roles & 50–950 ramp

primary
#1B2686
secondary
#B9AD44
accent
#D83EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1B2686

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

Preview Lab → · Contrast checker → · Palette generator →

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