#1A2783#1A2783

#1A2783 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.153 H 269.3°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#1A2783
RGBrgb(26, 39, 131)
HSLhsl(233, 67%, 31%)
HSVhsv(233, 80%, 51%)
CMYKcmyk(80.2%, 70.2%, 0%, 48.6%)
CIE-LABlab(21.24, 29.86, -52.85)
CIE-LCHlch(21.24, 60.70, 299.47°)
OKLaboklab(33.31% -0.0019 -0.153)
OKLCHoklch(33.31% 0.153 269.3)
XYZxyz(5.2468, 3.3088, 21.8305)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2783 #83761A
analogous
#1A5B83 #1A2783 #411A83
triadic
#1A2783 #831A27 #27831A
tetradic
#1A2783 #831A5B #83761A #1A8341
square
#1A2783 #831A5B #83761A #1A8341
split-complementary
#1A2783 #83411A #5B831A
monochromatic
#06091D #101850 #1A2783 #2436B6 #3F52D9

Accessibility & contrast

On white

12.64
#1A2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2783
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2783#FFFFFF#000000##FFFFFF
##1A27831.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2783;
/* rgb */ color: rgb(26, 39, 131);
/* oklch */ color: oklch(33.3% 0.153 269.3);
Tailwind
colors: {
  custom: {
    50: '#6a61a8',
    500: '#1a2783',
    950: '#000000',
  },
}
SCSS
$custom: #1a2783;
$custom-light: #6a61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2783",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 232.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33309,
    "c": 0.15302,
    "h": 269.3
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#1A2783
secondary
#B7A842
accent
#D53EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1A2783

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

Preview Lab → · Contrast checker → · Palette generator →

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