#1A4E8D#1A4E8D

#1A4E8D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.118 H 255.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#1A4E8D
RGBrgb(26, 78, 141)
HSLhsl(213, 69%, 33%)
HSVhsv(213, 82%, 55%)
CMYKcmyk(81.6%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.12, 7.02, -39.78)
CIE-LCHlch(33.12, 40.39, 280.01°)
OKLaboklab(42.52% -0.0295 -0.114)
OKLCHoklch(42.52% 0.118 255.5)
XYZxyz(7.9563, 7.5905, 26.2399)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E8D #8D591A
analogous
#1A878D #1A4E8D #201A8D
triadic
#1A4E8D #8D1A4E #4E8D1A
tetradic
#1A4E8D #8D1A87 #8D591A #1A8D20
square
#1A4E8D #8D1A87 #8D591A #1A8D20
split-complementary
#1A4E8D #8D201A #878D1A
monochromatic
#071526 #103159 #1A4E8D #246BC1 #4589DD

Accessibility & contrast

On white

8.34
#1A4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1A4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E8D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E8D#FFFFFF#000000##FFFFFF
##1A4E8D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538F
Deuteranopia (green-blind)
#17498C
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a4e8d;
/* rgb */ color: rgb(26, 78, 141);
/* oklch */ color: oklch(42.5% 0.118 255.5);
Tailwind
colors: {
  custom: {
    50: '#6a7faf',
    500: '#1a4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e8d;
$custom-light: #6a7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e8d",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 212.87,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42521,
    "c": 0.11775,
    "h": 255.5
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#1A4E8D
secondary
#BE8745
accent
#9C3CEC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1A4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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