#1A3A8A#1A3A8A

#1A3A8A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.139 H 264.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#1A3A8A
RGBrgb(26, 58, 138)
HSLhsl(223, 68%, 32%)
HSVhsv(223, 81%, 54%)
CMYKcmyk(81.2%, 58%, 0%, 45.9%)
CIE-LABlab(26.96, 19.55, -47.87)
CIE-LCHlch(26.96, 51.71, 292.22°)
OKLaboklab(37.74% -0.014 -0.1382)
OKLCHoklch(37.74% 0.139 264.2)
XYZxyz(6.5249, 5.0799, 24.6765)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A8A #8A6A1A
analogous
#1A728A #1A3A8A #321A8A
triadic
#1A3A8A #8A1A3A #3A8A1A
tetradic
#1A3A8A #8A1A72 #8A6A1A #1A8A32
square
#1A3A8A #8A1A72 #8A6A1A #1A8A32
split-complementary
#1A3A8A #8A321A #728A1A
monochromatic
#070F23 #102457 #1A3A8A #2450BD #436EDC

Accessibility & contrast

On white

10.42
#1A3A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1A3A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A8A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A8A#FFFFFF#000000##FFFFFF
##1A3A8A1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3a8a;
/* rgb */ color: rgb(26, 58, 138);
/* oklch */ color: oklch(37.7% 0.139 264.2);
Tailwind
colors: {
  custom: {
    50: '#6a6fad',
    500: '#1a3a8a',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a8a;
$custom-light: #6a6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a8a",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 222.857,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37742,
    "c": 0.13889,
    "h": 264.2
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#1A3A8A
secondary
#BD9A43
accent
#B93DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A3A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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