#1A4E8C#1A4E8C

#1A4E8C is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.116 H 255.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#1A4E8C
RGBrgb(26, 78, 140)
HSLhsl(213, 69%, 33%)
HSVhsv(213, 81%, 55%)
CMYKcmyk(81.4%, 44.3%, 0%, 45.1%)
CIE-LABlab(33.05, 6.62, -39.27)
CIE-LCHlch(33.05, 39.82, 279.56°)
OKLaboklab(42.45% -0.0297 -0.1125)
OKLCHoklch(42.45% 0.116 255.2)
XYZxyz(7.8823, 7.5609, 25.8498)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E8C #8C581A
analogous
#1A878C #1A4E8C #1F1A8C
triadic
#1A4E8C #8C1A4E #4E8C1A
tetradic
#1A4E8C #8C1A87 #8C581A #1A8C1F
square
#1A4E8C #8C1A87 #8C581A #1A8C1F
split-complementary
#1A4E8C #8C1F1A #878C1A
monochromatic
#071425 #103158 #1A4E8C #246BC0 #448ADC

Accessibility & contrast

On white

8.36
#1A4E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1A4E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E8C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E8C#FFFFFF#000000##FFFFFF
##1A4E8C1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538E
Deuteranopia (green-blind)
#19498B
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a4e8c;
/* rgb */ color: rgb(26, 78, 140);
/* oklch */ color: oklch(42.4% 0.116 255.2);
Tailwind
colors: {
  custom: {
    50: '#6a7fae',
    500: '#1a4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e8c;
$custom-light: #6a7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e8c",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 212.632,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.11635,
    "h": 255.2
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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