#1A2B80#1A2B80

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

Color values

HEX#1A2B80
RGBrgb(26, 43, 128)
HSLhsl(230, 66%, 30%)
HSVhsv(230, 80%, 50%)
CMYKcmyk(79.7%, 66.4%, 0%, 49.8%)
CIE-LABlab(21.96, 25.99, -49.77)
CIE-LCHlch(21.96, 56.15, 297.57°)
OKLaboklab(33.75% -0.004 -0.144)
OKLCHoklch(33.75% 0.144 268.4)
XYZxyz(5.1848, 3.5053, 20.8212)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B80 #806F1A
analogous
#1A5E80 #1A2B80 #3C1A80
triadic
#1A2B80 #801A2B #2B801A
tetradic
#1A2B80 #801A5E #806F1A #1A803C
square
#1A2B80 #801A5E #806F1A #1A803C
split-complementary
#1A2B80 #803C1A #5E801A
monochromatic
#05091A #101A4D #1A2B80 #243CB3 #3D57D8

Accessibility & contrast

On white

12.34
#1A2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2B80
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B80#FFFFFF#000000##FFFFFF
##1A2B801.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2b80;
/* rgb */ color: rgb(26, 43, 128);
/* oklch */ color: oklch(33.7% 0.144 268.4);
Tailwind
colors: {
  custom: {
    50: '#6964a6',
    500: '#1a2b80',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b80;
$custom-light: #6964a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b80",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 230,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33748,
    "c": 0.14405,
    "h": 268.4
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#1A2B80
secondary
#B4A142
accent
#CD3FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2B80

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

Preview Lab → · Contrast checker → · Palette generator →

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