#1B2A86#1B2A86

#1B2A86 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.153 H 269.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#1B2A86
RGBrgb(27, 42, 134)
HSLhsl(232, 66%, 32%)
HSVhsv(232, 80%, 53%)
CMYKcmyk(79.9%, 68.7%, 0%, 47.5%)
CIE-LABlab(22.34, 29.11, -52.93)
CIE-LCHlch(22.34, 60.41, 298.80°)
OKLaboklab(34.21% -0.0028 -0.1532)
OKLCHoklch(34.21% 0.153 269)
XYZxyz(5.5816, 3.6095, 22.9522)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A86 #86771B
analogous
#1B6086 #1B2A86 #421B86
triadic
#1B2A86 #861B2A #2A861B
tetradic
#1B2A86 #861B60 #86771B #1B8642
square
#1B2A86 #861B60 #86771B #1B8642
split-complementary
#1B2A86 #86421B #60861B
monochromatic
#060A20 #111A53 #1B2A86 #253AB9 #4258D9

Accessibility & contrast

On white

12.20
#1B2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1B2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A86
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A86#FFFFFF#000000##FFFFFF
##1B2A861.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2a86;
/* rgb */ color: rgb(27, 42, 134);
/* oklch */ color: oklch(34.2% 0.153 269.0);
Tailwind
colors: {
  custom: {
    50: '#6b63aa',
    500: '#1b2a86',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a86;
$custom-light: #6b63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a86",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 231.589,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34211,
    "c": 0.15325,
    "h": 269
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#1B2A86
secondary
#B9A944
accent
#D13EE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1B2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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