#1A3C83#1A3C83

#1A3C83 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.6% C 0.126 H 262.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#1A3C83
RGBrgb(26, 60, 131)
HSLhsl(221, 67%, 31%)
HSVhsv(221, 80%, 51%)
CMYKcmyk(80.2%, 54.2%, 0%, 48.6%)
CIE-LABlab(26.99, 15.30, -43.47)
CIE-LCHlch(26.99, 46.08, 289.39°)
OKLaboklab(37.59% -0.0161 -0.1252)
OKLCHoklch(37.59% 0.126 262.7)
XYZxyz(6.1371, 5.0893, 22.1272)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C83 #83611A
analogous
#1A7083 #1A3C83 #2C1A83
triadic
#1A3C83 #831A3C #3C831A
tetradic
#1A3C83 #831A70 #83611A #1A832C
square
#1A3C83 #831A70 #83611A #1A832C
split-complementary
#1A3C83 #832C1A #70831A
monochromatic
#060D1D #102550 #1A3C83 #2453B6 #3F71D9

Accessibility & contrast

On white

10.41
#1A3C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1A3C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C83
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C83#FFFFFF#000000##FFFFFF
##1A3C831.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094586
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3c83;
/* rgb */ color: rgb(26, 60, 131);
/* oklch */ color: oklch(37.6% 0.126 262.7);
Tailwind
colors: {
  custom: {
    50: '#6871a8',
    500: '#1a3c83',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c83;
$custom-light: #6871a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c83",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 220.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37588,
    "c": 0.12625,
    "h": 262.7
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#1A3C83
secondary
#B79142
accent
#B23EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3C83

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

Preview Lab → · Contrast checker → · Palette generator →

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