#1A4F97#1A4F97

#1A4F97 is a dark, vivid cyan. Relative luminance 0.080; OKLCH L 43.5% C 0.130 H 257.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#1A4F97
RGBrgb(26, 79, 151)
HSLhsl(215, 71%, 35%)
HSVhsv(215, 83%, 59%)
CMYKcmyk(82.8%, 47.7%, 0%, 40.8%)
CIE-LABlab(34.08, 10.40, -44.32)
CIE-LCHlch(34.08, 45.53, 283.20°)
OKLaboklab(43.48% -0.0284 -0.1273)
OKLCHoklch(43.48% 0.13 257.4)
XYZxyz(8.8058, 8.0449, 30.3609)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F97 #97621A
analogous
#1A8E97 #1A4F97 #241A97
triadic
#1A4F97 #971A4F #4F971A
tetradic
#1A4F97 #971A8E #97621A #1A9724
square
#1A4F97 #971A8E #97621A #1A9724
split-complementary
#1A4F97 #97241A #8E971A
monochromatic
#08182F #113463 #1A4F97 #236ACB #4B8AE0

Accessibility & contrast

On white

8.05
#1A4F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1A4F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F97
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F97#FFFFFF#000000##FFFFFF
##1A4F971.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#024B96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1a4f97;
/* rgb */ color: rgb(26, 79, 151);
/* oklch */ color: oklch(43.5% 0.130 257.4);
Tailwind
colors: {
  custom: {
    50: '#6c7fb6',
    500: '#1a4f97',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f97;
$custom-light: #6c7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f97",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 214.56,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43476,
    "c": 0.13046,
    "h": 257.4
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#1A4F97
secondary
#C28F4B
accent
#A23AED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1A4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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