#1A4A8A#1A4A8A

#1A4A8A is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.4% C 0.118 H 257.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#1A4A8A
RGBrgb(26, 74, 138)
HSLhsl(214, 68%, 32%)
HSVhsv(214, 81%, 54%)
CMYKcmyk(81.2%, 46.4%, 0%, 45.9%)
CIE-LABlab(31.70, 8.50, -40.22)
CIE-LCHlch(31.70, 41.10, 281.93°)
OKLaboklab(41.36% -0.0267 -0.1154)
OKLCHoklch(41.36% 0.118 257)
XYZxyz(7.4605, 6.9513, 24.9884)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4A8A #8A5A1A
analogous
#1A828A #1A4A8A #221A8A
triadic
#1A4A8A #8A1A4A #4A8A1A
tetradic
#1A4A8A #8A1A82 #8A5A1A #1A8A22
square
#1A4A8A #8A1A82 #8A5A1A #1A8A22
split-complementary
#1A4A8A #8A221A #828A1A
monochromatic
#071323 #102E57 #1A4A8A #2466BD #4384DC

Accessibility & contrast

On white

8.79
#1A4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1A4A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4A8A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4A8A#FFFFFF#000000##FFFFFF
##1A4A8A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508C
Deuteranopia (green-blind)
#0F4689
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a4a8a;
/* rgb */ color: rgb(26, 74, 138);
/* oklch */ color: oklch(41.4% 0.118 257.0);
Tailwind
colors: {
  custom: {
    50: '#697cac',
    500: '#1a4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #1a4a8a;
$custom-light: #697cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4a8a",
  "rgb": {
    "r": 26,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 214.286,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.1184,
    "h": 257
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#1A4A8A
secondary
#BD8943
accent
#A03DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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