#1A3F8B#1A3F8B

#1A3F8B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.134 H 262.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#1A3F8B
RGBrgb(26, 63, 139)
HSLhsl(220, 68%, 32%)
HSVhsv(220, 81%, 55%)
CMYKcmyk(81.3%, 54.7%, 0%, 45.5%)
CIE-LABlab(28.48, 16.47, -46.02)
CIE-LCHlch(28.48, 48.88, 289.70°)
OKLaboklab(38.92% -0.0176 -0.1327)
OKLCHoklch(38.92% 0.134 262.5)
XYZxyz(6.8620, 5.6379, 25.1477)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F8B #8B661A
analogous
#1A788B #1A3F8B #2E1A8B
triadic
#1A3F8B #8B1A3F #3F8B1A
tetradic
#1A3F8B #8B1A78 #8B661A #1A8B2E
square
#1A3F8B #8B1A78 #8B661A #1A8B2E
split-complementary
#1A3F8B #8B2E1A #788B1A
monochromatic
#071024 #102857 #1A3F8B #2456BF #4375DC

Accessibility & contrast

On white

9.87
#1A3F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1A3F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F8B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F8B#FFFFFF#000000##FFFFFF
##1A3F8B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03498E
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a3f8b;
/* rgb */ color: rgb(26, 63, 139);
/* oklch */ color: oklch(38.9% 0.134 262.5);
Tailwind
colors: {
  custom: {
    50: '#6a73ad',
    500: '#1a3f8b',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f8b;
$custom-light: #6a73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f8b",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 220.354,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.13382,
    "h": 262.5
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#1A3F8B
secondary
#BD9544
accent
#B23CEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1A3F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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