#1A3183#1A3183

#1A3183 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.141 H 266.8°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#1A3183
RGBrgb(26, 49, 131)
HSLhsl(227, 67%, 31%)
HSVhsv(227, 80%, 51%)
CMYKcmyk(80.2%, 62.6%, 0%, 48.6%)
CIE-LABlab(23.85, 23.02, -48.57)
CIE-LCHlch(23.85, 53.75, 295.36°)
OKLaboklab(35.23% -0.008 -0.1404)
OKLCHoklch(35.23% 0.141 266.8)
XYZxyz(5.6196, 4.0543, 21.9547)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3183 #836C1A
analogous
#1A6583 #1A3183 #371A83
triadic
#1A3183 #831A31 #31831A
tetradic
#1A3183 #831A65 #836C1A #1A8337
square
#1A3183 #831A65 #836C1A #1A8337
split-complementary
#1A3183 #83371A #65831A
monochromatic
#060B1D #101E50 #1A3183 #2444B6 #3F60D9

Accessibility & contrast

On white

11.60
#1A3183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1A3183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3183
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3183#FFFFFF#000000##FFFFFF
##1A31831.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a3183;
/* rgb */ color: rgb(26, 49, 131);
/* oklch */ color: oklch(35.2% 0.141 266.8);
Tailwind
colors: {
  custom: {
    50: '#6968a8',
    500: '#1a3183',
    950: '#000000',
  },
}
SCSS
$custom: #1a3183;
$custom-light: #6968a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3183",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 226.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35228,
    "c": 0.14063,
    "h": 266.8
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#1A3183
secondary
#B79D42
accent
#C43EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A3183

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

Preview Lab → · Contrast checker → · Palette generator →

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