#1A4F7B#1A4F7B

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

Color values

HEX#1A4F7B
RGBrgb(26, 79, 123)
HSLhsl(207, 65%, 29%)
HSVhsv(207, 79%, 48%)
CMYKcmyk(78.9%, 35.8%, 0%, 51.8%)
CIE-LABlab(32.35, -0.88, -29.90)
CIE-LCHlch(32.35, 29.91, 268.32°)
OKLaboklab(41.57% -0.0351 -0.085)
OKLCHoklch(41.57% 0.092 247.6)
XYZxyz(6.7958, 7.2408, 19.7745)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F7B #7B461A
analogous
#1A7B77 #1A4F7B #1A1F7B
triadic
#1A4F7B #7B1A4F #4F7B1A
tetradic
#1A4F7B #771A7B #7B461A #1F7B1A
square
#1A4F7B #771A7B #7B461A #1F7B1A
split-complementary
#1A4F7B #7B1A1F #7B771A
monochromatic
#051019 #0F2F48 #1A4F7B #256FAE #3A8FD5

Accessibility & contrast

On white

8.58
#1A4F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1A4F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F7B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F7B#FFFFFF#000000##FFFFFF
##1A4F7B1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4f7b;
/* rgb */ color: rgb(26, 79, 123);
/* oklch */ color: oklch(41.6% 0.092 247.6);
Tailwind
colors: {
  custom: {
    50: '#6680a1',
    500: '#1a4f7b',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f7b;
$custom-light: #6680a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f7b",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 207.216,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.09196,
    "h": 247.6
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#1A4F7B
secondary
#AF7342
accent
#8C40E8
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1A4F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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