#1A2480#1A2480

#1A2480 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.152 H 270.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#1A2480
RGBrgb(26, 36, 128)
HSLhsl(234, 66%, 30%)
HSVhsv(234, 80%, 50%)
CMYKcmyk(79.7%, 71.9%, 0%, 49.8%)
CIE-LABlab(20.20, 30.71, -52.67)
CIE-LCHlch(20.20, 60.96, 300.24°)
OKLaboklab(32.46% 0 -0.1525)
OKLCHoklch(32.46% 0.152 270)
XYZxyz(4.9518, 3.0393, 20.7436)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2480 #80761A
analogous
#1A5780 #1A2480 #431A80
triadic
#1A2480 #801A24 #24801A
tetradic
#1A2480 #801A57 #80761A #1A8043
square
#1A2480 #801A57 #80761A #1A8043
split-complementary
#1A2480 #80431A #57801A
monochromatic
#05071A #10164D #1A2480 #2432B3 #3D4CD8

Accessibility & contrast

On white

13.06
#1A2480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2480
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2480#FFFFFF#000000##FFFFFF
##1A24801.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2480;
/* rgb */ color: rgb(26, 36, 128);
/* oklch */ color: oklch(32.5% 0.152 270.0);
Tailwind
colors: {
  custom: {
    50: '#695fa6',
    500: '#1a2480',
    950: '#000000',
  },
}
SCSS
$custom: #1a2480;
$custom-light: #695fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2480",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 128
  },
  "hsl": {
    "h": 234.118,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32462,
    "c": 0.15248,
    "h": 270
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#1A2480
secondary
#B4A942
accent
#D83FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A2480

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

Preview Lab → · Contrast checker → · Palette generator →

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