#1A4A7F#1A4A7F

#1A4A7F is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.103 H 253.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1A4A7F
RGBrgb(26, 74, 127)
HSLhsl(211, 66%, 30%)
HSVhsv(211, 80%, 50%)
CMYKcmyk(79.5%, 41.7%, 0%, 50.2%)
CIE-LABlab(30.99, 4.03, -34.54)
CIE-LCHlch(30.99, 34.77, 276.65°)
OKLaboklab(40.59% -0.0291 -0.0987)
OKLCHoklch(40.59% 0.103 253.6)
XYZxyz(6.7041, 6.6487, 21.0046)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4A7F #7F4F1A
analogous
#1A7D7F #1A4A7F #1C1A7F
triadic
#1A4A7F #7F1A4A #4A7F1A
tetradic
#1A4A7F #7F1A7D #7F4F1A #1A7F1C
square
#1A4A7F #7F1A7D #7F4F1A #1A7F1C
split-complementary
#1A4A7F #7F1C1A #7D7F1A
monochromatic
#050F19 #102C4C #1A4A7F #2468B2 #3C86D7

Accessibility & contrast

On white

9.01
#1A4A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1A4A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4A7F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4A7F#FFFFFF#000000##FFFFFF
##1A4A7F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#20457E
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1a4a7f;
/* rgb */ color: rgb(26, 74, 127);
/* oklch */ color: oklch(40.6% 0.103 253.6);
Tailwind
colors: {
  custom: {
    50: '#677ca4',
    500: '#1a4a7f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4a7f;
$custom-light: #677ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4a7f",
  "rgb": {
    "r": 26,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 211.485,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.40586,
    "c": 0.10288,
    "h": 253.6
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#1A4A7F
secondary
#B37D42
accent
#983FE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1A4A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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