#1A2380#1A2380

#1A2380 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.154 H 270.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#1A2380
RGBrgb(26, 35, 128)
HSLhsl(235, 66%, 30%)
HSVhsv(235, 80%, 50%)
CMYKcmyk(79.7%, 72.7%, 0%, 49.8%)
CIE-LABlab(19.96, 31.36, -53.06)
CIE-LCHlch(19.96, 61.63, 300.58°)
OKLaboklab(32.29% 0.0005 -0.1536)
OKLCHoklch(32.29% 0.154 270.2)
XYZxyz(4.9220, 2.9796, 20.7336)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2380 #80771A
analogous
#1A5680 #1A2380 #441A80
triadic
#1A2380 #801A23 #23801A
tetradic
#1A2380 #801A56 #80771A #1A8044
square
#1A2380 #801A56 #80771A #1A8044
split-complementary
#1A2380 #80441A #56801A
monochromatic
#05071A #10154D #1A2380 #2431B3 #3D4AD8

Accessibility & contrast

On white

13.16
#1A2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2380
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2380#FFFFFF#000000##FFFFFF
##1A23801.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2380;
/* rgb */ color: rgb(26, 35, 128);
/* oklch */ color: oklch(32.3% 0.154 270.2);
Tailwind
colors: {
  custom: {
    50: '#6a5ea6',
    500: '#1a2380',
    950: '#000000',
  },
}
SCSS
$custom: #1a2380;
$custom-light: #6a5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2380",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 234.706,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3229,
    "c": 0.15363,
    "h": 270.2
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#1A2380
secondary
#B4AA42
accent
#DA3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A2380

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

Preview Lab → · Contrast checker → · Palette generator →

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