#1A4F8B#1A4F8B

#1A4F8B is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.114 H 254.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1A4F8B
RGBrgb(26, 79, 139)
HSLhsl(212, 68%, 32%)
HSVhsv(212, 81%, 55%)
CMYKcmyk(81.3%, 43.2%, 0%, 45.5%)
CIE-LABlab(33.30, 5.54, -38.27)
CIE-LCHlch(33.30, 38.66, 278.24°)
OKLaboklab(42.62% -0.0308 -0.1095)
OKLCHoklch(42.62% 0.114 254.3)
XYZxyz(7.8804, 7.6747, 25.4871)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F8B #8B561A
analogous
#1A888B #1A4F8B #1D1A8B
triadic
#1A4F8B #8B1A4F #4F8B1A
tetradic
#1A4F8B #8B1A88 #8B561A #1A8B1D
square
#1A4F8B #8B1A88 #8B561A #1A8B1D
split-complementary
#1A4F8B #8B1D1A #888B1A
monochromatic
#071424 #103257 #1A4F8B #246CBF #438BDC

Accessibility & contrast

On white

8.28
#1A4F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1A4F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F8B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F8B#FFFFFF#000000##FFFFFF
##1A4F8B1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548D
Deuteranopia (green-blind)
#1D4A8A
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a4f8b;
/* rgb */ color: rgb(26, 79, 139);
/* oklch */ color: oklch(42.6% 0.114 254.3);
Tailwind
colors: {
  custom: {
    50: '#697fad',
    500: '#1a4f8b',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f8b;
$custom-light: #697fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f8b",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 211.858,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4262,
    "c": 0.11378,
    "h": 254.3
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#1A4F8B
secondary
#BD8444
accent
#993CEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1A4F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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