#1B2A80#1B2A80

#1B2A80 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.145 H 269.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#1B2A80
RGBrgb(27, 42, 128)
HSLhsl(231, 65%, 30%)
HSVhsv(231, 79%, 50%)
CMYKcmyk(78.9%, 67.2%, 0%, 49.8%)
CIE-LABlab(21.75, 26.78, -50.12)
CIE-LCHlch(21.75, 56.82, 298.12°)
OKLaboklab(33.61% -0.0024 -0.145)
OKLCHoklch(33.61% 0.145 269)
XYZxyz(5.1749, 3.4469, 20.8105)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A80 #80711B
analogous
#1B5C80 #1B2A80 #3E1B80
triadic
#1B2A80 #801B2A #2A801B
tetradic
#1B2A80 #801B5C #80711B #1B803E
square
#1B2A80 #801B5C #80711B #1B803E
split-complementary
#1B2A80 #803E1B #5C801B
monochromatic
#06091B #10194D #1B2A80 #263BB3 #3F55D6

Accessibility & contrast

On white

12.43
#1B2A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B2A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A80
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A80#FFFFFF#000000##FFFFFF
##1B2A801.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2a80;
/* rgb */ color: rgb(27, 42, 128);
/* oklch */ color: oklch(33.6% 0.145 269.0);
Tailwind
colors: {
  custom: {
    50: '#6963a6',
    500: '#1b2a80',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a80;
$custom-light: #6963a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a80",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 231.089,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33605,
    "c": 0.145,
    "h": 269
  },
  "luminance": 0.03447
}

Semantic roles & 50–950 ramp

primary
#1B2A80
secondary
#B4A343
accent
#CF40E8
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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