#1B2D84#1B2D84

#1B2D84 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.147 H 268.3°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#1B2D84
RGBrgb(27, 45, 132)
HSLhsl(230, 66%, 31%)
HSVhsv(230, 80%, 52%)
CMYKcmyk(79.5%, 65.9%, 0%, 48.2%)
CIE-LABlab(22.91, 26.29, -50.73)
CIE-LCHlch(22.91, 57.14, 297.40°)
OKLaboklab(34.58% -0.0045 -0.1467)
OKLCHoklch(34.58% 0.147 268.3)
XYZxyz(5.5538, 3.7751, 22.2613)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D84 #84721B
analogous
#1B6184 #1B2D84 #3D1B84
triadic
#1B2D84 #841B2D #2D841B
tetradic
#1B2D84 #841B61 #84721B #1B843D
square
#1B2D84 #841B61 #84721B #1B843D
split-complementary
#1B2D84 #843D1B #61841B
monochromatic
#060A1E #111C51 #1B2D84 #253EB7 #415BD8

Accessibility & contrast

On white

11.96
#1B2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1B2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D84
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D84#FFFFFF#000000##FFFFFF
##1B2D841.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.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: #1b2d84;
/* rgb */ color: rgb(27, 45, 132);
/* oklch */ color: oklch(34.6% 0.147 268.3);
Tailwind
colors: {
  custom: {
    50: '#6a65a9',
    500: '#1b2d84',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d84;
$custom-light: #6a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d84",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 229.714,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34576,
    "c": 0.14682,
    "h": 268.3
  },
  "luminance": 0.03776
}

Semantic roles & 50–950 ramp

primary
#1B2D84
secondary
#B7A343
accent
#CC3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1B2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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