#1A3F8A#1A3F8A

#1A3F8A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.132 H 262.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#1A3F8A
RGBrgb(26, 63, 138)
HSLhsl(220, 68%, 32%)
HSVhsv(220, 81%, 54%)
CMYKcmyk(81.2%, 54.3%, 0%, 45.9%)
CIE-LABlab(28.40, 16.07, -45.53)
CIE-LCHlch(28.40, 48.28, 289.44°)
OKLaboklab(38.83% -0.0177 -0.1312)
OKLCHoklch(38.83% 0.132 262.3)
XYZxyz(6.7893, 5.6088, 24.7646)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F8A #8A651A
analogous
#1A778A #1A3F8A #2D1A8A
triadic
#1A3F8A #8A1A3F #3F8A1A
tetradic
#1A3F8A #8A1A77 #8A651A #1A8A2D
square
#1A3F8A #8A1A77 #8A651A #1A8A2D
split-complementary
#1A3F8A #8A2D1A #778A1A
monochromatic
#071023 #102757 #1A3F8A #2457BD #4375DC

Accessibility & contrast

On white

9.90
#1A3F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1A3F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F8A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F8A#FFFFFF#000000##FFFFFF
##1A3F8A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06488D
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a3f8a;
/* rgb */ color: rgb(26, 63, 138);
/* oklch */ color: oklch(38.8% 0.132 262.3);
Tailwind
colors: {
  custom: {
    50: '#6a73ad',
    500: '#1a3f8a',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f8a;
$custom-light: #6a73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f8a",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 220.179,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38833,
    "c": 0.13239,
    "h": 262.3
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#1A3F8A
secondary
#BD9543
accent
#B23DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A3F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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