#2A5074#2A5074

#2A5074 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.074 H 248.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2A5074
RGBrgb(42, 80, 116)
HSLhsl(209, 47%, 31%)
HSVhsv(209, 64%, 45%)
CMYKcmyk(63.8%, 31%, 0%, 54.5%)
CIE-LABlab(32.90, -1.43, -24.64)
CIE-LCHlch(32.90, 24.68, 266.67°)
OKLaboklab(42.05% -0.0269 -0.0694)
OKLCHoklch(42.05% 0.074 248.8)
XYZxyz(6.9747, 7.4899, 17.5977)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5074 #744E2A
analogous
#2A7473 #2A5074 #2A2B74
triadic
#2A5074 #742A50 #50742A
tetradic
#2A5074 #732A74 #744E2A #2B742A
square
#2A5074 #732A74 #744E2A #2B742A
split-complementary
#2A5074 #742A2B #74732A
monochromatic
#09121A #1A3147 #2A5074 #3A6FA1 #568EC2

Accessibility & contrast

On white

8.41
#2A5074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5074
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5074#FFFFFF#000000##FFFFFF
##2A50741.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415176
Deuteranopia (green-blind)
#374A73
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a5074;
/* rgb */ color: rgb(42, 80, 116);
/* oklch */ color: oklch(42.0% 0.074 248.8);
Tailwind
colors: {
  custom: {
    50: '#6b809c',
    500: '#2a5074',
    950: '#000000',
  },
}
SCSS
$custom: #2a5074;
$custom-light: #6b809c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5074",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 116
  },
  "hsl": {
    "h": 209.189,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42048,
    "c": 0.07446,
    "h": 248.8
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#2A5074
secondary
#A67C54
accent
#9251D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A5074

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

Preview Lab → · Contrast checker → · Palette generator →

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