#1A4C8E#1A4C8E

#1A4C8E is a dark, vivid cyan. Relative luminance 0.073; OKLCH L 42.1% C 0.122 H 256.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#1A4C8E
RGBrgb(26, 76, 142)
HSLhsl(214, 69%, 33%)
HSVhsv(214, 82%, 56%)
CMYKcmyk(81.7%, 46.5%, 0%, 44.3%)
CIE-LABlab(32.57, 8.77, -41.27)
CIE-LCHlch(32.57, 42.19, 282.00°)
OKLaboklab(42.12% -0.0276 -0.1184)
OKLCHoklch(42.12% 0.122 256.9)
XYZxyz(7.8911, 7.3405, 26.5869)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4C8E #8E5C1A
analogous
#1A868E #1A4C8E #221A8E
triadic
#1A4C8E #8E1A4C #4C8E1A
tetradic
#1A4C8E #8E1A86 #8E5C1A #1A8E22
square
#1A4C8E #8E1A86 #8E5C1A #1A8E22
split-complementary
#1A4C8E #8E221A #868E1A
monochromatic
#071527 #11305A #1A4C8E #2368C2 #4587DD

Accessibility & contrast

On white

8.51
#1A4C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1A4C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4C8E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4C8E#FFFFFF#000000##FFFFFF
##1A4C8E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#0E488D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a4c8e;
/* rgb */ color: rgb(26, 76, 142);
/* oklch */ color: oklch(42.1% 0.122 256.9);
Tailwind
colors: {
  custom: {
    50: '#6a7daf',
    500: '#1a4c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a4c8e;
$custom-light: #6a7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4c8e",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 214.138,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42119,
    "c": 0.12157,
    "h": 256.9
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#1A4C8E
secondary
#BE8A45
accent
#A03CEC
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1A4C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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