#1A3185#1A3185

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

Color values

HEX#1A3185
RGBrgb(26, 49, 133)
HSLhsl(227, 67%, 31%)
HSVhsv(227, 80%, 52%)
CMYKcmyk(80.5%, 63.2%, 0%, 47.8%)
CIE-LABlab(24.03, 23.82, -49.53)
CIE-LCHlch(24.03, 54.96, 295.68°)
OKLaboklab(35.42% -0.008 -0.1432)
OKLCHoklch(35.42% 0.143 266.8)
XYZxyz(5.7565, 4.1090, 22.6755)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3185 #856E1A
analogous
#1A6685 #1A3185 #381A85
triadic
#1A3185 #851A31 #31851A
tetradic
#1A3185 #851A66 #856E1A #1A8538
square
#1A3185 #851A66 #856E1A #1A8538
split-complementary
#1A3185 #85381A #66851A
monochromatic
#060B1F #101E52 #1A3185 #2444B8 #4061DA

Accessibility & contrast

On white

11.53
#1A3185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1A3185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3185
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3185#FFFFFF#000000##FFFFFF
##1A31851.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a3185;
/* rgb */ color: rgb(26, 49, 133);
/* oklch */ color: oklch(35.4% 0.143 266.8);
Tailwind
colors: {
  custom: {
    50: '#6a68a9',
    500: '#1a3185',
    950: '#000000',
  },
}
SCSS
$custom: #1a3185;
$custom-light: #6a68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3185",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 227.103,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35416,
    "c": 0.14344,
    "h": 266.8
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#1A3185
secondary
#B89F42
accent
#C53EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A3185

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

Preview Lab → · Contrast checker → · Palette generator →

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