#1B2C80#1B2C80

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

Color values

HEX#1B2C80
RGBrgb(27, 44, 128)
HSLhsl(230, 65%, 30%)
HSVhsv(230, 79%, 50%)
CMYKcmyk(78.9%, 65.6%, 0%, 49.8%)
CIE-LABlab(22.27, 25.41, -49.26)
CIE-LCHlch(22.27, 55.43, 297.29°)
OKLaboklab(33.99% -0.0037 -0.1425)
OKLCHoklch(33.99% 0.143 268.5)
XYZxyz(5.2476, 3.5923, 20.8347)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C80 #806F1B
analogous
#1B5E80 #1B2C80 #3C1B80
triadic
#1B2C80 #801B2C #2C801B
tetradic
#1B2C80 #801B5E #806F1B #1B803C
square
#1B2C80 #801B5E #806F1B #1B803C
split-complementary
#1B2C80 #803C1B #5E801B
monochromatic
#06091B #101B4D #1B2C80 #263DB3 #3F58D6

Accessibility & contrast

On white

12.22
#1B2C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1B2C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C80
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C80#FFFFFF#000000##FFFFFF
##1B2C801.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2c80;
/* rgb */ color: rgb(27, 44, 128);
/* oklch */ color: oklch(34.0% 0.143 268.5);
Tailwind
colors: {
  custom: {
    50: '#6965a6',
    500: '#1b2c80',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c80;
$custom-light: #6965a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c80",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 229.901,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3399,
    "c": 0.14251,
    "h": 268.5
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#1B2C80
secondary
#B4A143
accent
#CC40E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1B2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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