#1B2586#1B2586

#1B2586 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.159 H 269.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#1B2586
RGBrgb(27, 37, 134)
HSLhsl(234, 66%, 32%)
HSVhsv(234, 80%, 53%)
CMYKcmyk(79.9%, 72.4%, 0%, 47.5%)
CIE-LABlab(21.12, 32.40, -54.93)
CIE-LCHlch(21.12, 63.77, 300.53°)
OKLaboklab(33.33% -0.0002 -0.1591)
OKLCHoklch(33.33% 0.159 269.9)
XYZxyz(5.4152, 3.2768, 22.8967)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2586 #867C1B
analogous
#1B5B86 #1B2586 #471B86
triadic
#1B2586 #861B25 #25861B
tetradic
#1B2586 #861B5B #867C1B #1B8647
square
#1B2586 #861B5B #867C1B #1B8647
split-complementary
#1B2586 #86471B #5B861B
monochromatic
#060920 #111753 #1B2586 #2533B9 #4250D9

Accessibility & contrast

On white

12.69
#1B2586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1B2586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2586
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2586#FFFFFF#000000##FFFFFF
##1B25861.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2586;
/* rgb */ color: rgb(27, 37, 134);
/* oklch */ color: oklch(33.3% 0.159 269.9);
Tailwind
colors: {
  custom: {
    50: '#6b60aa',
    500: '#1b2586',
    950: '#000000',
  },
}
SCSS
$custom: #1b2586;
$custom-light: #6b60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2586",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 234.393,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33329,
    "c": 0.15907,
    "h": 269.9
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#1B2586
secondary
#B9AE44
accent
#D93EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1B2586

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

Preview Lab → · Contrast checker → · Palette generator →

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