#1A4F8E#1A4F8E

#1A4F8E is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.118 H 255.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#1A4F8E
RGBrgb(26, 79, 142)
HSLhsl(213, 69%, 33%)
HSVhsv(213, 82%, 56%)
CMYKcmyk(81.7%, 44.4%, 0%, 44.3%)
CIE-LABlab(33.49, 6.76, -39.80)
CIE-LCHlch(33.49, 40.37, 279.64°)
OKLaboklab(42.83% -0.0302 -0.114)
OKLCHoklch(42.83% 0.118 255.2)
XYZxyz(8.1027, 7.7636, 26.6574)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F8E #8E591A
analogous
#1A898E #1A4F8E #1F1A8E
triadic
#1A4F8E #8E1A4F #4F8E1A
tetradic
#1A4F8E #8E1A89 #8E591A #1A8E1F
square
#1A4F8E #8E1A89 #8E591A #1A8E1F
split-complementary
#1A4F8E #8E1F1A #898E1A
monochromatic
#071527 #11325A #1A4F8E #236CC2 #458BDD

Accessibility & contrast

On white

8.23
#1A4F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A4F8E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F8E#FFFFFF#000000##FFFFFF
##1A4F8E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a4f8e;
/* rgb */ color: rgb(26, 79, 142);
/* oklch */ color: oklch(42.8% 0.118 255.2);
Tailwind
colors: {
  custom: {
    50: '#6a7faf',
    500: '#1a4f8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f8e;
$custom-light: #6a7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f8e",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 212.586,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42829,
    "c": 0.11794,
    "h": 255.2
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#1A4F8E
secondary
#BE8745
accent
#9B3CEC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1A4F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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