#1B2C82#1B2C82

#1B2C82 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.145 H 268.5°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#1B2C82
RGBrgb(27, 44, 130)
HSLhsl(230, 66%, 31%)
HSVhsv(230, 79%, 51%)
CMYKcmyk(79.2%, 66.2%, 0%, 49%)
CIE-LABlab(22.46, 26.19, -50.21)
CIE-LCHlch(22.46, 56.63, 297.55°)
OKLaboklab(34.19% -0.0038 -0.1452)
OKLCHoklch(34.19% 0.145 268.5)
XYZxyz(5.3805, 3.6455, 21.5348)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C82 #82711B
analogous
#1B5F82 #1B2C82 #3D1B82
triadic
#1B2C82 #821B2C #2C821B
tetradic
#1B2C82 #821B5F #82711B #1B823D
square
#1B2C82 #821B5F #82711B #1B823D
split-complementary
#1B2C82 #823D1B #5F821B
monochromatic
#060A1D #101B4F #1B2C82 #263DB5 #4059D7

Accessibility & contrast

On white

12.14
#1B2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2C82
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C82#FFFFFF#000000##FFFFFF
##1B2C821.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2c82;
/* rgb */ color: rgb(27, 44, 130);
/* oklch */ color: oklch(34.2% 0.145 268.5);
Tailwind
colors: {
  custom: {
    50: '#6965a7',
    500: '#1b2c82',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c82;
$custom-light: #6965a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c82",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 230.097,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34186,
    "c": 0.1453,
    "h": 268.5
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#1B2C82
secondary
#B6A343
accent
#CD3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1B2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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