#1A4F8D#1A4F8D

#1A4F8D is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.8% C 0.117 H 254.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#1A4F8D
RGBrgb(26, 79, 141)
HSLhsl(212, 69%, 33%)
HSVhsv(212, 82%, 55%)
CMYKcmyk(81.6%, 44%, 0%, 44.7%)
CIE-LABlab(33.42, 6.35, -39.29)
CIE-LCHlch(33.42, 39.80, 279.18°)
OKLaboklab(42.76% -0.0304 -0.1125)
OKLCHoklch(42.76% 0.117 254.9)
XYZxyz(8.0279, 7.7337, 26.2638)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F8D #8D581A
analogous
#1A888D #1A4F8D #1F1A8D
triadic
#1A4F8D #8D1A4F #4F8D1A
tetradic
#1A4F8D #8D1A88 #8D581A #1A8D1F
square
#1A4F8D #8D1A88 #8D581A #1A8D1F
split-complementary
#1A4F8D #8D1F1A #888D1A
monochromatic
#071526 #103259 #1A4F8D #246CC1 #458BDD

Accessibility & contrast

On white

8.24
#1A4F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1A4F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F8D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F8D#FFFFFF#000000##FFFFFF
##1A4F8D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a4f8d;
/* rgb */ color: rgb(26, 79, 141);
/* oklch */ color: oklch(42.8% 0.117 254.9);
Tailwind
colors: {
  custom: {
    50: '#6a7faf',
    500: '#1a4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f8d;
$custom-light: #6a7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f8d",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 212.348,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42759,
    "c": 0.11656,
    "h": 254.9
  },
  "luminance": 0.07735
}

Semantic roles & 50–950 ramp

primary
#1A4F8D
secondary
#BE8645
accent
#9B3CEC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1A4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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