#1A3F88#1A3F88

#1A3F88 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.130 H 262.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#1A3F88
RGBrgb(26, 63, 136)
HSLhsl(220, 68%, 32%)
HSVhsv(220, 81%, 53%)
CMYKcmyk(80.9%, 53.7%, 0%, 46.7%)
CIE-LABlab(28.25, 15.25, -44.53)
CIE-LCHlch(28.25, 47.07, 288.90°)
OKLaboklab(38.67% -0.0179 -0.1283)
OKLCHoklch(38.67% 0.13 262.1)
XYZxyz(6.6458, 5.5514, 24.0090)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F88 #88631A
analogous
#1A7688 #1A3F88 #2C1A88
triadic
#1A3F88 #881A3F #3F881A
tetradic
#1A3F88 #881A76 #88631A #1A882C
square
#1A3F88 #881A76 #88631A #1A882C
split-complementary
#1A3F88 #882C1A #76881A
monochromatic
#060F21 #102755 #1A3F88 #2457BB #4275DB

Accessibility & contrast

On white

9.95
#1A3F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1A3F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F88
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F88#FFFFFF#000000##FFFFFF
##1A3F881.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B488B
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a3f88;
/* rgb */ color: rgb(26, 63, 136);
/* oklch */ color: oklch(38.7% 0.130 262.1);
Tailwind
colors: {
  custom: {
    50: '#6973ab',
    500: '#1a3f88',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f88;
$custom-light: #6973ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f88",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 136
  },
  "hsl": {
    "h": 219.818,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3867,
    "c": 0.12953,
    "h": 262.1
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#1A3F88
secondary
#BB9343
accent
#B03DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A3F88

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

Preview Lab → · Contrast checker → · Palette generator →

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