#1A3E8A#1A3E8A

#1A3E8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.134 H 262.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#1A3E8A
RGBrgb(26, 62, 138)
HSLhsl(221, 68%, 32%)
HSVhsv(221, 81%, 54%)
CMYKcmyk(81.2%, 55.1%, 0%, 45.9%)
CIE-LABlab(28.11, 16.76, -46.00)
CIE-LCHlch(28.11, 48.96, 290.02°)
OKLaboklab(38.61% -0.0169 -0.1326)
OKLCHoklch(38.61% 0.134 262.7)
XYZxyz(6.7344, 5.4990, 24.7463)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E8A #8A661A
analogous
#1A768A #1A3E8A #2E1A8A
triadic
#1A3E8A #8A1A3E #3E8A1A
tetradic
#1A3E8A #8A1A76 #8A661A #1A8A2E
square
#1A3E8A #8A1A76 #8A661A #1A8A2E
split-complementary
#1A3E8A #8A2E1A #768A1A
monochromatic
#071023 #102757 #1A3E8A #2455BD #4374DC

Accessibility & contrast

On white

10.00
#1A3E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1A3E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E8A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E8A#FFFFFF#000000##FFFFFF
##1A3E8A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01488D
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a3e8a;
/* rgb */ color: rgb(26, 62, 138);
/* oklch */ color: oklch(38.6% 0.134 262.7);
Tailwind
colors: {
  custom: {
    50: '#6a72ad',
    500: '#1a3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e8a;
$custom-light: #6a72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e8a",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 220.714,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38612,
    "c": 0.13369,
    "h": 262.7
  },
  "luminance": 0.055
}

Semantic roles & 50–950 ramp

primary
#1A3E8A
secondary
#BD9643
accent
#B33DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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