#1B2E84#1B2E84

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

Color values

HEX#1B2E84
RGBrgb(27, 46, 132)
HSLhsl(229, 66%, 31%)
HSVhsv(229, 80%, 52%)
CMYKcmyk(79.5%, 65.2%, 0%, 48.2%)
CIE-LABlab(23.18, 25.61, -50.30)
CIE-LCHlch(23.18, 56.44, 296.98°)
OKLaboklab(34.77% -0.0051 -0.1455)
OKLCHoklch(34.77% 0.146 268)
XYZxyz(5.5924, 3.8523, 22.2742)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E84 #84711B
analogous
#1B6284 #1B2E84 #3C1B84
triadic
#1B2E84 #841B2E #2E841B
tetradic
#1B2E84 #841B62 #84711B #1B843C
square
#1B2E84 #841B62 #84711B #1B843C
split-complementary
#1B2E84 #843C1B #62841B
monochromatic
#060B1E #111C51 #1B2E84 #2540B7 #415DD8

Accessibility & contrast

On white

11.86
#1B2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2E84
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E84#FFFFFF#000000##FFFFFF
##1B2E841.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2e84;
/* rgb */ color: rgb(27, 46, 132);
/* oklch */ color: oklch(34.8% 0.146 268.0);
Tailwind
colors: {
  custom: {
    50: '#6a66a9',
    500: '#1b2e84',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e84;
$custom-light: #6a66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e84",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 229.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3477,
    "c": 0.14557,
    "h": 268
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#1B2E84
secondary
#B7A243
accent
#CA3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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