#1B2E86#1B2E86

#1B2E86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.148 H 268.0°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#1B2E86
RGBrgb(27, 46, 134)
HSLhsl(229, 66%, 32%)
HSVhsv(229, 80%, 53%)
CMYKcmyk(79.9%, 65.7%, 0%, 47.5%)
CIE-LABlab(23.36, 26.39, -51.25)
CIE-LCHlch(23.36, 57.64, 297.25°)
OKLaboklab(34.97% -0.0052 -0.1483)
OKLCHoklch(34.97% 0.148 268)
XYZxyz(5.7306, 3.9076, 23.0019)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E86 #86731B
analogous
#1B6486 #1B2E86 #3E1B86
triadic
#1B2E86 #861B2E #2E861B
tetradic
#1B2E86 #861B64 #86731B #1B863E
square
#1B2E86 #861B64 #86731B #1B863E
split-complementary
#1B2E86 #863E1B #64861B
monochromatic
#060B20 #111D53 #1B2E86 #253FB9 #425DD9

Accessibility & contrast

On white

11.79
#1B2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1B2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E86
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E86#FFFFFF#000000##FFFFFF
##1B2E861.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b2e86;
/* rgb */ color: rgb(27, 46, 134);
/* oklch */ color: oklch(35.0% 0.148 268.0);
Tailwind
colors: {
  custom: {
    50: '#6a66aa',
    500: '#1b2e86',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e86;
$custom-light: #6a66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e86",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 229.346,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34965,
    "c": 0.14835,
    "h": 268
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#1B2E86
secondary
#B9A444
accent
#CB3EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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