#1A2280#1A2280

#1A2280 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.155 H 270.4°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1A2280
RGBrgb(26, 34, 128)
HSLhsl(235, 66%, 30%)
HSVhsv(235, 80%, 50%)
CMYKcmyk(79.7%, 73.4%, 0%, 49.8%)
CIE-LABlab(19.73, 32.00, -53.45)
CIE-LCHlch(19.73, 62.30, 300.91°)
OKLaboklab(32.12% 0.001 -0.1547)
OKLCHoklch(32.12% 0.155 270.4)
XYZxyz(4.8930, 2.9216, 20.7239)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2280 #80781A
analogous
#1A5580 #1A2280 #451A80
triadic
#1A2280 #801A22 #22801A
tetradic
#1A2280 #801A55 #80781A #1A8045
square
#1A2280 #801A55 #80781A #1A8045
split-complementary
#1A2280 #80451A #55801A
monochromatic
#05071A #10144D #1A2280 #2430B3 #3D49D8

Accessibility & contrast

On white

13.25
#1A2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2280
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2280#FFFFFF#000000##FFFFFF
##1A22801.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2280;
/* rgb */ color: rgb(26, 34, 128);
/* oklch */ color: oklch(32.1% 0.155 270.4);
Tailwind
colors: {
  custom: {
    50: '#6a5ea6',
    500: '#1a2280',
    950: '#000000',
  },
}
SCSS
$custom: #1a2280;
$custom-light: #6a5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2280",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 235.294,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32121,
    "c": 0.15475,
    "h": 270.4
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#1A2280
secondary
#B4AB42
accent
#DC3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1A2280

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

Preview Lab → · Contrast checker → · Palette generator →

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