#1B2D82#1B2D82

#1B2D82 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.144 H 268.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#1B2D82
RGBrgb(27, 45, 130)
HSLhsl(230, 66%, 31%)
HSVhsv(230, 79%, 51%)
CMYKcmyk(79.2%, 65.4%, 0%, 49%)
CIE-LABlab(22.73, 25.51, -49.78)
CIE-LCHlch(22.73, 55.93, 297.13°)
OKLaboklab(34.38% -0.0044 -0.144)
OKLCHoklch(34.38% 0.144 268.2)
XYZxyz(5.4182, 3.7209, 21.5474)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D82 #82701B
analogous
#1B6082 #1B2D82 #3D1B82
triadic
#1B2D82 #821B2D #2D821B
tetradic
#1B2D82 #821B60 #82701B #1B823D
square
#1B2D82 #821B60 #82701B #1B823D
split-complementary
#1B2D82 #823D1B #60821B
monochromatic
#060A1D #101B4F #1B2D82 #263FB5 #405AD7

Accessibility & contrast

On white

12.04
#1B2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1B2D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D82
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D82#FFFFFF#000000##FFFFFF
##1B2D821.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003180
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b2d82;
/* rgb */ color: rgb(27, 45, 130);
/* oklch */ color: oklch(34.4% 0.144 268.2);
Tailwind
colors: {
  custom: {
    50: '#6965a7',
    500: '#1b2d82',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d82;
$custom-light: #6965a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d82",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 229.515,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3438,
    "c": 0.14404,
    "h": 268.2
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#1B2D82
secondary
#B6A243
accent
#CB3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1B2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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