#1A4E8A#1A4E8A

#1A4E8A is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.3% C 0.114 H 254.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#1A4E8A
RGBrgb(26, 78, 138)
HSLhsl(212, 68%, 32%)
HSVhsv(212, 81%, 54%)
CMYKcmyk(81.2%, 43.5%, 0%, 45.9%)
CIE-LABlab(32.92, 5.81, -38.25)
CIE-LCHlch(32.92, 38.68, 278.63°)
OKLaboklab(42.31% -0.0302 -0.1095)
OKLCHoklch(42.31% 0.114 254.6)
XYZxyz(7.7361, 7.5024, 25.0802)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E8A #8A561A
analogous
#1A868A #1A4E8A #1E1A8A
triadic
#1A4E8A #8A1A4E #4E8A1A
tetradic
#1A4E8A #8A1A86 #8A561A #1A8A1E
square
#1A4E8A #8A1A86 #8A561A #1A8A1E
split-complementary
#1A4E8A #8A1E1A #868A1A
monochromatic
#071423 #103157 #1A4E8A #246BBD #438ADC

Accessibility & contrast

On white

8.40
#1A4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1A4E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E8A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E8A#FFFFFF#000000##FFFFFF
##1A4E8A1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538C
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a4e8a;
/* rgb */ color: rgb(26, 78, 138);
/* oklch */ color: oklch(42.3% 0.114 254.6);
Tailwind
colors: {
  custom: {
    50: '#697fac',
    500: '#1a4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e8a;
$custom-light: #697fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e8a",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 212.143,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42311,
    "c": 0.11357,
    "h": 254.6
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#1A4E8A
secondary
#BD8443
accent
#9A3DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1A4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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