#1A4E7F#1A4E7F

#1A4E7F is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.098 H 250.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#1A4E7F
RGBrgb(26, 78, 127)
HSLhsl(209, 66%, 30%)
HSVhsv(209, 80%, 50%)
CMYKcmyk(79.5%, 38.6%, 0%, 50.2%)
CIE-LABlab(32.26, 1.37, -32.53)
CIE-LCHlch(32.26, 32.56, 272.42°)
OKLaboklab(41.57% -0.033 -0.0927)
OKLCHoklch(41.57% 0.098 250.4)
XYZxyz(6.9797, 7.1999, 21.0964)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E7F #7F4B1A
analogous
#1A7F7E #1A4E7F #1A1B7F
triadic
#1A4E7F #7F1A4E #4E7F1A
tetradic
#1A4E7F #7E1A7F #7F4B1A #1B7F1A
square
#1A4E7F #7E1A7F #7F4B1A #1B7F1A
split-complementary
#1A4E7F #7F1A1B #7F7E1A
monochromatic
#051019 #102F4C #1A4E7F #246DB2 #3C8CD7

Accessibility & contrast

On white

8.61
#1A4E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1A4E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E7F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E7F#FFFFFF#000000##FFFFFF
##1A4E7F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#28487E
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4e7f;
/* rgb */ color: rgb(26, 78, 127);
/* oklch */ color: oklch(41.6% 0.098 250.4);
Tailwind
colors: {
  custom: {
    50: '#677fa4',
    500: '#1a4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e7f;
$custom-light: #677fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e7f",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 209.109,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.41574,
    "c": 0.09839,
    "h": 250.4
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#1A4E7F
secondary
#B37942
accent
#913FE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1A4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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