#1B2B85#1B2B85

#1B2B85 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.151 H 268.7°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1B2B85
RGBrgb(27, 43, 133)
HSLhsl(231, 66%, 31%)
HSVhsv(231, 80%, 52%)
CMYKcmyk(79.7%, 67.7%, 0%, 47.8%)
CIE-LABlab(22.49, 28.04, -52.05)
CIE-LCHlch(22.49, 59.12, 298.32°)
OKLaboklab(34.29% -0.0033 -0.1506)
OKLCHoklch(34.29% 0.151 268.7)
XYZxyz(5.5480, 3.6536, 22.5986)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B85 #85751B
analogous
#1B6085 #1B2B85 #401B85
triadic
#1B2B85 #851B2B #2B851B
tetradic
#1B2B85 #851B60 #85751B #1B8540
square
#1B2B85 #851B60 #85751B #1B8540
split-complementary
#1B2B85 #85401B #60851B
monochromatic
#060A1F #111B52 #1B2B85 #253BB8 #4259D9

Accessibility & contrast

On white

12.13
#1B2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1B2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B85
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B85#FFFFFF#000000##FFFFFF
##1B2B851.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b2b85;
/* rgb */ color: rgb(27, 43, 133);
/* oklch */ color: oklch(34.3% 0.151 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a64a9',
    500: '#1b2b85',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b85;
$custom-light: #6a64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b85",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 230.943,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34295,
    "c": 0.15067,
    "h": 268.7
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#1B2B85
secondary
#B8A744
accent
#CF3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1B2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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