#1A4F71#1A4F71

#1A4F71 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.0% C 0.079 H 241.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#1A4F71
RGBrgb(26, 79, 113)
HSLhsl(203, 63%, 27%)
HSVhsv(203, 77%, 44%)
CMYKcmyk(77%, 30.1%, 0%, 55.7%)
CIE-LABlab(31.81, -4.80, -24.50)
CIE-LCHlch(31.81, 24.97, 258.91°)
OKLaboklab(40.97% -0.0384 -0.0693)
OKLCHoklch(40.97% 0.079 241)
XYZxyz(6.2015, 7.0031, 16.6445)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F71 #713C1A
analogous
#1A7168 #1A4F71 #1A2471
triadic
#1A4F71 #711A4F #4F711A
tetradic
#1A4F71 #681A71 #713C1A #24711A
square
#1A4F71 #681A71 #713C1A #24711A
split-complementary
#1A4F71 #711A24 #71681A
monochromatic
#061119 #0F2C3F #1A4F71 #2572A3 #3594D0

Accessibility & contrast

On white

8.75
#1A4F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1A4F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F71
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F71#FFFFFF#000000##FFFFFF
##1A4F711.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#334770
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a4f71;
/* rgb */ color: rgb(26, 79, 113);
/* oklch */ color: oklch(41.0% 0.079 241.0);
Tailwind
colors: {
  custom: {
    50: '#64809a',
    500: '#1a4f71',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f71;
$custom-light: #64809a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f71",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 203.448,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.40974,
    "c": 0.07918,
    "h": 241
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#1A4F71
secondary
#A66841
accent
#8242E6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1A4F71

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

Preview Lab → · Contrast checker → · Palette generator →

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