#1B2F84#1B2F84

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

Color values

HEX#1B2F84
RGBrgb(27, 47, 132)
HSLhsl(229, 66%, 31%)
HSVhsv(229, 80%, 52%)
CMYKcmyk(79.5%, 64.4%, 0%, 48.2%)
CIE-LABlab(23.44, 24.91, -49.86)
CIE-LCHlch(23.44, 55.74, 296.55°)
OKLaboklab(34.97% -0.0057 -0.1442)
OKLCHoklch(34.97% 0.144 267.7)
XYZxyz(5.6319, 3.9314, 22.2873)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F84 #84701B
analogous
#1B6384 #1B2F84 #3B1B84
triadic
#1B2F84 #841B2F #2F841B
tetradic
#1B2F84 #841B63 #84701B #1B843B
square
#1B2F84 #841B63 #84701B #1B843B
split-complementary
#1B2F84 #843B1B #63841B
monochromatic
#060B1E #111D51 #1B2F84 #2541B7 #415ED8

Accessibility & contrast

On white

11.76
#1B2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F84
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F84#FFFFFF#000000##FFFFFF
##1B2F841.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2f84;
/* rgb */ color: rgb(27, 47, 132);
/* oklch */ color: oklch(35.0% 0.144 267.7);
Tailwind
colors: {
  custom: {
    50: '#6a67a9',
    500: '#1b2f84',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f84;
$custom-light: #6a67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f84",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 228.571,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34966,
    "c": 0.1443,
    "h": 267.7
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#1B2F84
secondary
#B7A143
accent
#C93FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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