#1B2B80#1B2B80

#1B2B80 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.144 H 268.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#1B2B80
RGBrgb(27, 43, 128)
HSLhsl(230, 65%, 30%)
HSVhsv(230, 79%, 50%)
CMYKcmyk(78.9%, 66.4%, 0%, 49.8%)
CIE-LABlab(22.01, 26.10, -49.69)
CIE-LCHlch(22.01, 56.13, 297.71°)
OKLaboklab(33.8% -0.003 -0.1437)
OKLCHoklch(33.8% 0.144 268.8)
XYZxyz(5.2108, 3.5187, 20.8224)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B80 #80701B
analogous
#1B5D80 #1B2B80 #3D1B80
triadic
#1B2B80 #801B2B #2B801B
tetradic
#1B2B80 #801B5D #80701B #1B803D
square
#1B2B80 #801B5D #80701B #1B803D
split-complementary
#1B2B80 #803D1B #5D801B
monochromatic
#06091B #101A4D #1B2B80 #263CB3 #3F57D6

Accessibility & contrast

On white

12.33
#1B2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1B2B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B80
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B80#FFFFFF#000000##FFFFFF
##1B2B801.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2b80;
/* rgb */ color: rgb(27, 43, 128);
/* oklch */ color: oklch(33.8% 0.144 268.8);
Tailwind
colors: {
  custom: {
    50: '#6964a6',
    500: '#1b2b80',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b80;
$custom-light: #6964a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b80",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 230.495,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33796,
    "c": 0.14376,
    "h": 268.8
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#1B2B80
secondary
#B4A243
accent
#CD40E8
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B2B80

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

Preview Lab → · Contrast checker → · Palette generator →

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