#1A2083#1A2083

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

Color values

HEX#1A2083
RGBrgb(26, 32, 131)
HSLhsl(237, 67%, 31%)
HSVhsv(237, 80%, 51%)
CMYKcmyk(80.2%, 75.6%, 0%, 48.6%)
CIE-LABlab(19.60, 34.37, -55.55)
CIE-LCHlch(19.60, 65.32, 301.74°)
OKLaboklab(32.13% 0.0015 -0.1609)
OKLCHoklch(32.13% 0.161 270.5)
XYZxyz(5.0379, 2.8908, 21.7608)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2083 #837D1A
analogous
#1A5483 #1A2083 #481A83
triadic
#1A2083 #831A20 #20831A
tetradic
#1A2083 #831A54 #837D1A #1A8348
square
#1A2083 #831A54 #837D1A #1A8348
split-complementary
#1A2083 #83481A #54831A
monochromatic
#06071D #101450 #1A2083 #242CB6 #3F47D9

Accessibility & contrast

On white

13.31
#1A2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2083
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2083#FFFFFF#000000##FFFFFF
##1A20831.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2083;
/* rgb */ color: rgb(26, 32, 131);
/* oklch */ color: oklch(32.1% 0.161 270.5);
Tailwind
colors: {
  custom: {
    50: '#6b5ca8',
    500: '#1a2083',
    950: '#000000',
  },
}
SCSS
$custom: #1a2083;
$custom-light: #6b5ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2083",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 236.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32129,
    "c": 0.16088,
    "h": 270.5
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#1A2083
secondary
#B7B042
accent
#E03EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2083

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

Preview Lab → · Contrast checker → · Palette generator →

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