#2A4E80#2A4E80

#2A4E80 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.3% C 0.094 H 257.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2A4E80
RGBrgb(42, 78, 128)
HSLhsl(215, 51%, 33%)
HSVhsv(215, 67%, 50%)
CMYKcmyk(67.2%, 39.1%, 0%, 49.8%)
CIE-LABlab(32.92, 4.32, -32.06)
CIE-LCHlch(32.92, 32.35, 277.67°)
OKLaboklab(42.28% -0.0211 -0.0911)
OKLCHoklch(42.28% 0.094 257)
XYZxyz(7.5741, 7.4988, 21.4661)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E80 #805C2A
analogous
#2A7980 #2A4E80 #312A80
triadic
#2A4E80 #802A4E #4E802A
tetradic
#2A4E80 #802A79 #805C2A #2A8031
square
#2A4E80 #802A79 #805C2A #2A8031
split-complementary
#2A4E80 #80312A #79802A
monochromatic
#0C1624 #1B3252 #2A4E80 #396AAE #5B89C9

Accessibility & contrast

On white

8.40
#2A4E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2A4E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E80
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E80#FFFFFF#000000##FFFFFF
##2A4E801.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385282
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4e80;
/* rgb */ color: rgb(42, 78, 128);
/* oklch */ color: oklch(42.3% 0.094 257.0);
Tailwind
colors: {
  custom: {
    50: '#6d7fa5',
    500: '#2a4e80',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e80;
$custom-light: #6d7fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e80",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 128
  },
  "hsl": {
    "h": 214.884,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42275,
    "c": 0.09352,
    "h": 257
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#2A4E80
secondary
#AF8A57
accent
#9F4EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A4E80

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

Preview Lab → · Contrast checker → · Palette generator →

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