#1A3FA7#1A3FA7

#1A3FA7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.172 H 264.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#1A3FA7
RGBrgb(26, 63, 167)
HSLhsl(224, 73%, 38%)
HSVhsv(224, 84%, 65%)
CMYKcmyk(84.4%, 62.3%, 0%, 34.5%)
CIE-LABlab(30.79, 27.68, -59.31)
CIE-LCHlch(30.79, 65.45, 295.02°)
OKLaboklab(41.38% -0.016 -0.1717)
OKLCHoklch(41.38% 0.172 264.7)
XYZxyz(9.1761, 6.5635, 37.3350)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3FA7 #A7821A
analogous
#1A86A7 #1A3FA7 #3B1AA7
triadic
#1A3FA7 #A71A3F #3FA71A
tetradic
#1A3FA7 #A71A86 #A7821A #1AA73B
square
#1A3FA7 #A71A86 #A7821A #1AA73B
split-complementary
#1A3FA7 #A73B1A #86A71A
monochromatic
#0A173D #122B72 #1A3FA7 #2253DC #577CE5

Accessibility & contrast

On white

9.08
#1A3FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1A3FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3FA7
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3FA7#FFFFFF#000000##FFFFFF
##1A3FA71.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a3fa7;
/* rgb */ color: rgb(26, 63, 167);
/* oklch */ color: oklch(41.4% 0.172 264.7);
Tailwind
colors: {
  custom: {
    50: '#7273c2',
    500: '#1a3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #1a3fa7;
$custom-light: #7273c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3fa7",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 224.255,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41375,
    "c": 0.17242,
    "h": 264.7
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#1A3FA7
secondary
#C8AA55
accent
#C038F0
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1A3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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