#1B2D86#1B2D86

#1B2D86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.150 H 268.3°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#1B2D86
RGBrgb(27, 45, 134)
HSLhsl(230, 66%, 32%)
HSVhsv(230, 80%, 53%)
CMYKcmyk(79.9%, 66.4%, 0%, 47.5%)
CIE-LABlab(23.10, 27.07, -51.67)
CIE-LCHlch(23.10, 58.34, 297.65°)
OKLaboklab(34.77% -0.0046 -0.1495)
OKLCHoklch(34.77% 0.15 268.3)
XYZxyz(5.6920, 3.8304, 22.9890)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D86 #86741B
analogous
#1B6386 #1B2D86 #3F1B86
triadic
#1B2D86 #861B2D #2D861B
tetradic
#1B2D86 #861B63 #86741B #1B863F
square
#1B2D86 #861B63 #86741B #1B863F
split-complementary
#1B2D86 #863F1B #63861B
monochromatic
#060B20 #111C53 #1B2D86 #253EB9 #425CD9

Accessibility & contrast

On white

11.89
#1B2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1B2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D86
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D86#FFFFFF#000000##FFFFFF
##1B2D861.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2d86;
/* rgb */ color: rgb(27, 45, 134);
/* oklch */ color: oklch(34.8% 0.150 268.3);
Tailwind
colors: {
  custom: {
    50: '#6a65aa',
    500: '#1b2d86',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d86;
$custom-light: #6a65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d86",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 229.907,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34773,
    "c": 0.14959,
    "h": 268.3
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#1B2D86
secondary
#B9A544
accent
#CD3EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1B2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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