#2A4F80#2A4F80

#2A4F80 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.092 H 256.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2A4F80
RGBrgb(42, 79, 128)
HSLhsl(214, 51%, 33%)
HSVhsv(214, 67%, 50%)
CMYKcmyk(67.2%, 38.3%, 0%, 49.8%)
CIE-LABlab(33.23, 3.66, -31.57)
CIE-LCHlch(33.23, 31.78, 276.61°)
OKLaboklab(42.52% -0.0222 -0.0897)
OKLCHoklch(42.52% 0.092 256.1)
XYZxyz(7.6457, 7.6420, 21.4900)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4F80 #805B2A
analogous
#2A7A80 #2A4F80 #302A80
triadic
#2A4F80 #802A4F #4F802A
tetradic
#2A4F80 #802A7A #805B2A #2A8030
square
#2A4F80 #802A7A #805B2A #2A8030
split-complementary
#2A4F80 #80302A #7A802A
monochromatic
#0C1624 #1B3352 #2A4F80 #396BAE #5B8BC9

Accessibility & contrast

On white

8.30
#2A4F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A4F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4F80
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4F80#FFFFFF#000000##FFFFFF
##2A4F801.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395382
Deuteranopia (green-blind)
#2D4A7F
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a4f80;
/* rgb */ color: rgb(42, 79, 128);
/* oklch */ color: oklch(42.5% 0.092 256.1);
Tailwind
colors: {
  custom: {
    50: '#6d80a5',
    500: '#2a4f80',
    950: '#000000',
  },
}
SCSS
$custom: #2a4f80;
$custom-light: #6d80a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4f80",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 128
  },
  "hsl": {
    "h": 214.186,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42516,
    "c": 0.09237,
    "h": 256.1
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#2A4F80
secondary
#AF8957
accent
#9E4EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A4F80

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

Preview Lab → · Contrast checker → · Palette generator →

#2A4F80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva