#1A3F8F#1A3F8F

#1A3F8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.140 H 262.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#1A3F8F
RGBrgb(26, 63, 143)
HSLhsl(221, 69%, 33%)
HSVhsv(221, 82%, 56%)
CMYKcmyk(81.8%, 55.9%, 0%, 43.9%)
CIE-LABlab(28.79, 18.10, -47.98)
CIE-LCHlch(28.79, 51.28, 290.67°)
OKLaboklab(39.25% -0.0172 -0.1384)
OKLCHoklch(39.25% 0.14 262.9)
XYZxyz(7.1597, 5.7569, 26.7151)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F8F #8F6A1A
analogous
#1A798F #1A3F8F #301A8F
triadic
#1A3F8F #8F1A3F #3F8F1A
tetradic
#1A3F8F #8F1A79 #8F6A1A #1A8F30
square
#1A3F8F #8F1A79 #8F6A1A #1A8F30
split-complementary
#1A3F8F #8F301A #798F1A
monochromatic
#071127 #11285B #1A3F8F #2356C3 #4676DD

Accessibility & contrast

On white

9.76
#1A3F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1A3F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F8F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F8F#FFFFFF#000000##FFFFFF
##1A3F8F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a3f8f;
/* rgb */ color: rgb(26, 63, 143);
/* oklch */ color: oklch(39.3% 0.140 262.9);
Tailwind
colors: {
  custom: {
    50: '#6b73b0',
    500: '#1a3f8f',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f8f;
$custom-light: #6b73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f8f",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 143
  },
  "hsl": {
    "h": 221.026,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3925,
    "c": 0.1395,
    "h": 262.9
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#1A3F8F
secondary
#BF9946
accent
#B43CEC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A3F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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