#1A3E8B#1A3E8B

#1A3E8B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.135 H 262.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#1A3E8B
RGBrgb(26, 62, 139)
HSLhsl(221, 68%, 32%)
HSVhsv(221, 81%, 55%)
CMYKcmyk(81.3%, 55.4%, 0%, 45.5%)
CIE-LABlab(28.19, 17.17, -46.49)
CIE-LCHlch(28.19, 49.56, 290.27°)
OKLaboklab(38.7% -0.0168 -0.1341)
OKLCHoklch(38.7% 0.135 262.9)
XYZxyz(6.8072, 5.5281, 25.1294)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E8B #8B671A
analogous
#1A778B #1A3E8B #2F1A8B
triadic
#1A3E8B #8B1A3E #3E8B1A
tetradic
#1A3E8B #8B1A77 #8B671A #1A8B2F
square
#1A3E8B #8B1A77 #8B671A #1A8B2F
split-complementary
#1A3E8B #8B2F1A #778B1A
monochromatic
#071024 #102757 #1A3E8B #2455BF #4374DC

Accessibility & contrast

On white

9.97
#1A3E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3E8B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E8B#FFFFFF#000000##FFFFFF
##1A3E8B1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a3e8b;
/* rgb */ color: rgb(26, 62, 139);
/* oklch */ color: oklch(38.7% 0.135 262.9);
Tailwind
colors: {
  custom: {
    50: '#6a72ad',
    500: '#1a3e8b',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e8b;
$custom-light: #6a72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e8b",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 220.885,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38695,
    "c": 0.13512,
    "h": 262.9
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#1A3E8B
secondary
#BD9644
accent
#B43CEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1A3E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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