#1A4C8C#1A4C8C

#1A4C8C is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.0% C 0.119 H 256.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#1A4C8C
RGBrgb(26, 76, 140)
HSLhsl(214, 69%, 33%)
HSVhsv(214, 81%, 55%)
CMYKcmyk(81.4%, 45.7%, 0%, 45.1%)
CIE-LABlab(32.44, 7.96, -40.25)
CIE-LCHlch(32.44, 41.03, 281.18°)
OKLaboklab(41.98% -0.028 -0.1154)
OKLCHoklch(41.98% 0.119 256.4)
XYZxyz(7.7423, 7.2810, 25.8032)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4C8C #8C5A1A
analogous
#1A858C #1A4C8C #211A8C
triadic
#1A4C8C #8C1A4C #4C8C1A
tetradic
#1A4C8C #8C1A85 #8C5A1A #1A8C21
square
#1A4C8C #8C1A85 #8C5A1A #1A8C21
split-complementary
#1A4C8C #8C211A #858C1A
monochromatic
#071425 #103058 #1A4C8C #2468C0 #4487DC

Accessibility & contrast

On white

8.55
#1A4C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1A4C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4C8C
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4C8C#FFFFFF#000000##FFFFFF
##1A4C8C1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#12488B
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4c8c;
/* rgb */ color: rgb(26, 76, 140);
/* oklch */ color: oklch(42.0% 0.119 256.4);
Tailwind
colors: {
  custom: {
    50: '#6a7dae',
    500: '#1a4c8c',
    950: '#000000',
  },
}
SCSS
$custom: #1a4c8c;
$custom-light: #6a7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4c8c",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 140
  },
  "hsl": {
    "h": 213.684,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41975,
    "c": 0.11877,
    "h": 256.4
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#1A4C8C
secondary
#BE8844
accent
#9F3CEC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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