#1A4C8A#1A4C8A

#1A4C8A is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.8% C 0.116 H 255.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#1A4C8A
RGBrgb(26, 76, 138)
HSLhsl(213, 68%, 32%)
HSVhsv(213, 81%, 54%)
CMYKcmyk(81.2%, 44.9%, 0%, 45.9%)
CIE-LABlab(32.31, 7.15, -39.23)
CIE-LCHlch(32.31, 39.88, 280.32°)
OKLaboklab(41.83% -0.0284 -0.1124)
OKLCHoklch(41.83% 0.116 255.8)
XYZxyz(7.5962, 7.2226, 25.0336)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4C8A #8A581A
analogous
#1A848A #1A4C8A #201A8A
triadic
#1A4C8A #8A1A4C #4C8A1A
tetradic
#1A4C8A #8A1A84 #8A581A #1A8A20
square
#1A4C8A #8A1A84 #8A581A #1A8A20
split-complementary
#1A4C8A #8A201A #848A1A
monochromatic
#071323 #103057 #1A4C8A #2468BD #4387DC

Accessibility & contrast

On white

8.59
#1A4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1A4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4C8A
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4C8A#FFFFFF#000000##FFFFFF
##1A4C8A1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518C
Deuteranopia (green-blind)
#164789
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4c8a;
/* rgb */ color: rgb(26, 76, 138);
/* oklch */ color: oklch(41.8% 0.116 255.8);
Tailwind
colors: {
  custom: {
    50: '#697dac',
    500: '#1a4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1a4c8a;
$custom-light: #697dac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4c8a",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 213.214,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41832,
    "c": 0.11596,
    "h": 255.8
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#1A4C8A
secondary
#BD8643
accent
#9D3DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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