#1A3F80#1A3F80

#1A3F80 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.118 H 260.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#1A3F80
RGBrgb(26, 63, 128)
HSLhsl(218, 66%, 30%)
HSVhsv(218, 80%, 50%)
CMYKcmyk(79.7%, 50.8%, 0%, 49.8%)
CIE-LABlab(27.66, 11.97, -40.51)
CIE-LCHlch(27.66, 42.24, 286.47°)
OKLaboklab(38.03% -0.019 -0.1164)
OKLCHoklch(38.03% 0.118 260.7)
XYZxyz(6.0984, 5.3324, 21.1257)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F80 #805B1A
analogous
#1A7280 #1A3F80 #281A80
triadic
#1A3F80 #801A3F #3F801A
tetradic
#1A3F80 #801A72 #805B1A #1A8028
square
#1A3F80 #801A72 #805B1A #1A8028
split-complementary
#1A3F80 #80281A #72801A
monochromatic
#050D1A #10264D #1A3F80 #2458B3 #3D75D8

Accessibility & contrast

On white

10.16
#1A3F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1A3F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F80
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F80#FFFFFF#000000##FFFFFF
##1A3F801.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194682
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a3f80;
/* rgb */ color: rgb(26, 63, 128);
/* oklch */ color: oklch(38.0% 0.118 260.7);
Tailwind
colors: {
  custom: {
    50: '#6773a5',
    500: '#1a3f80',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f80;
$custom-light: #6773a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f80",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 218.235,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38032,
    "c": 0.11798,
    "h": 260.7
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#1A3F80
secondary
#B48B42
accent
#AB3FE9
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A3F80

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

Preview Lab → · Contrast checker → · Palette generator →

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