#1A3181#1A3181

#1A3181 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.138 H 266.7°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#1A3181
RGBrgb(26, 49, 129)
HSLhsl(227, 66%, 30%)
HSVhsv(227, 80%, 51%)
CMYKcmyk(79.8%, 62%, 0%, 49.4%)
CIE-LABlab(23.67, 22.22, -47.60)
CIE-LCHlch(23.67, 52.53, 295.02°)
OKLaboklab(35.04% -0.008 -0.1376)
OKLCHoklch(35.04% 0.138 266.7)
XYZxyz(5.4854, 4.0006, 21.2477)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3181 #816A1A
analogous
#1A6481 #1A3181 #361A81
triadic
#1A3181 #811A31 #31811A
tetradic
#1A3181 #811A64 #816A1A #1A8136
square
#1A3181 #811A64 #816A1A #1A8136
split-complementary
#1A3181 #81361A #64811A
monochromatic
#050A1B #101E4E #1A3181 #2444B4 #3D60D8

Accessibility & contrast

On white

11.67
#1A3181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1A3181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3181
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3181#FFFFFF#000000##FFFFFF
##1A31811.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a3181;
/* rgb */ color: rgb(26, 49, 129);
/* oklch */ color: oklch(35.0% 0.138 266.7);
Tailwind
colors: {
  custom: {
    50: '#6868a6',
    500: '#1a3181',
    950: '#000000',
  },
}
SCSS
$custom: #1a3181;
$custom-light: #6868a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3181",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 226.602,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35041,
    "c": 0.1378,
    "h": 266.7
  },
  "luminance": 0.04001
}

Semantic roles & 50–950 ramp

primary
#1A3181
secondary
#B59B42
accent
#C33EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A3181

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

Preview Lab → · Contrast checker → · Palette generator →

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