#1A4C8F#1A4C8F

#1A4C8F is a dark, vivid cyan. Relative luminance 0.074; OKLCH L 42.2% C 0.123 H 257.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#1A4C8F
RGBrgb(26, 76, 143)
HSLhsl(214, 69%, 33%)
HSVhsv(214, 82%, 56%)
CMYKcmyk(81.8%, 46.9%, 0%, 43.9%)
CIE-LABlab(32.64, 9.18, -41.77)
CIE-LCHlch(32.64, 42.77, 282.39°)
OKLaboklab(42.19% -0.0274 -0.1199)
OKLCHoklch(42.19% 0.123 257.1)
XYZxyz(7.9665, 7.3707, 26.9841)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4C8F #8F5D1A
analogous
#1A868F #1A4C8F #221A8F
triadic
#1A4C8F #8F1A4C #4C8F1A
tetradic
#1A4C8F #8F1A86 #8F5D1A #1A8F22
square
#1A4C8F #8F1A86 #8F5D1A #1A8F22
split-complementary
#1A4C8F #8F221A #868F1A
monochromatic
#071527 #11305B #1A4C8F #2368C3 #4687DD

Accessibility & contrast

On white

8.49
#1A4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A4C8F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4C8F#FFFFFF#000000##FFFFFF
##1A4C8F1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a4c8f;
/* rgb */ color: rgb(26, 76, 143);
/* oklch */ color: oklch(42.2% 0.123 257.1);
Tailwind
colors: {
  custom: {
    50: '#6a7db0',
    500: '#1a4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4c8f;
$custom-light: #6a7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4c8f",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 214.359,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42192,
    "c": 0.12298,
    "h": 257.1
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#1A4C8F
secondary
#BF8B46
accent
#A13CEC
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1A4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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