#1A3F89#1A3F89

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

Color values

HEX#1A3F89
RGBrgb(26, 63, 137)
HSLhsl(220, 68%, 32%)
HSVhsv(220, 81%, 54%)
CMYKcmyk(81%, 54%, 0%, 46.3%)
CIE-LABlab(28.33, 15.66, -45.03)
CIE-LCHlch(28.33, 47.67, 289.17°)
OKLaboklab(38.75% -0.0178 -0.1297)
OKLCHoklch(38.75% 0.131 262.2)
XYZxyz(6.7172, 5.5800, 24.3851)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F89 #89641A
analogous
#1A7789 #1A3F89 #2D1A89
triadic
#1A3F89 #891A3F #3F891A
tetradic
#1A3F89 #891A77 #89641A #1A892D
square
#1A3F89 #891A77 #89641A #1A892D
split-complementary
#1A3F89 #892D1A #77891A
monochromatic
#061022 #102756 #1A3F89 #2457BC #4275DB

Accessibility & contrast

On white

9.92
#1A3F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3F89
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F89#FFFFFF#000000##FFFFFF
##1A3F891.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09488C
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a3f89;
/* rgb */ color: rgb(26, 63, 137);
/* oklch */ color: oklch(38.8% 0.131 262.2);
Tailwind
colors: {
  custom: {
    50: '#6a73ac',
    500: '#1a3f89',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f89;
$custom-light: #6a73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f89",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 220,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38751,
    "c": 0.13096,
    "h": 262.2
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#1A3F89
secondary
#BC9443
accent
#B13DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A3F89

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

Preview Lab → · Contrast checker → · Palette generator →

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