#1B2F86#1B2F86

#1B2F86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.147 H 267.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#1B2F86
RGBrgb(27, 47, 134)
HSLhsl(229, 66%, 32%)
HSVhsv(229, 80%, 53%)
CMYKcmyk(79.9%, 64.9%, 0%, 47.5%)
CIE-LABlab(23.63, 25.70, -50.81)
CIE-LCHlch(23.63, 56.95, 296.83°)
OKLaboklab(35.16% -0.0058 -0.147)
OKLCHoklch(35.16% 0.147 267.7)
XYZxyz(5.7701, 3.9866, 23.0150)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F86 #86721B
analogous
#1B6586 #1B2F86 #3D1B86
triadic
#1B2F86 #861B2F #2F861B
tetradic
#1B2F86 #861B65 #86721B #1B863D
square
#1B2F86 #861B65 #86721B #1B863D
split-complementary
#1B2F86 #863D1B #65861B
monochromatic
#060B20 #111D53 #1B2F86 #2541B9 #425FD9

Accessibility & contrast

On white

11.68
#1B2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1B2F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F86
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F86#FFFFFF#000000##FFFFFF
##1B2F861.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2f86;
/* rgb */ color: rgb(27, 47, 134);
/* oklch */ color: oklch(35.2% 0.147 267.7);
Tailwind
colors: {
  custom: {
    50: '#6a67aa',
    500: '#1b2f86',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f86;
$custom-light: #6a67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f86",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 228.785,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35159,
    "c": 0.14709,
    "h": 267.7
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#1B2F86
secondary
#B9A344
accent
#C93EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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