#1A4F98#1A4F98

#1A4F98 is a dark, vivid cyan. Relative luminance 0.081; OKLCH L 43.5% C 0.132 H 257.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#1A4F98
RGBrgb(26, 79, 152)
HSLhsl(215, 71%, 35%)
HSVhsv(215, 83%, 60%)
CMYKcmyk(82.9%, 48%, 0%, 40.4%)
CIE-LABlab(34.14, 10.81, -44.82)
CIE-LCHlch(34.14, 46.10, 283.55°)
OKLaboklab(43.55% -0.0282 -0.1288)
OKLCHoklch(43.55% 0.132 257.7)
XYZxyz(8.8874, 8.0775, 30.7904)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F98 #98631A
analogous
#1A8E98 #1A4F98 #241A98
triadic
#1A4F98 #981A4F #4F981A
tetradic
#1A4F98 #981A8E #98631A #1A9824
square
#1A4F98 #981A8E #98631A #1A9824
split-complementary
#1A4F98 #98241A #8E981A
monochromatic
#08192F #113464 #1A4F98 #236ACC #4C8AE0

Accessibility & contrast

On white

8.03
#1A4F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1A4F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F98
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F98#FFFFFF#000000##FFFFFF
##1A4F981.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569B
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1a4f98;
/* rgb */ color: rgb(26, 79, 152);
/* oklch */ color: oklch(43.5% 0.132 257.7);
Tailwind
colors: {
  custom: {
    50: '#6d7fb7',
    500: '#1a4f98',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f98;
$custom-light: #6d7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f98",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 214.762,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4355,
    "c": 0.13185,
    "h": 257.7
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#1A4F98
secondary
#C2904B
accent
#A23AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1A4F98

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

Preview Lab → · Contrast checker → · Palette generator →

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