#2A5474#2A5474

#2A5474 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.1% C 0.071 H 243.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2A5474
RGBrgb(42, 84, 116)
HSLhsl(206, 47%, 31%)
HSVhsv(206, 64%, 45%)
CMYKcmyk(63.8%, 27.6%, 0%, 54.5%)
CIE-LABlab(34.18, -3.97, -22.64)
CIE-LCHlch(34.18, 22.98, 260.05°)
OKLaboklab(43.06% -0.0317 -0.0636)
OKLCHoklch(43.06% 0.071 243.5)
XYZxyz(7.2764, 8.0932, 17.6983)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5474 #744A2A
analogous
#2A746F #2A5474 #2A2F74
triadic
#2A5474 #742A54 #54742A
tetradic
#2A5474 #6F2A74 #744A2A #2F742A
square
#2A5474 #6F2A74 #744A2A #2F742A
split-complementary
#2A5474 #742A2F #746F2A
monochromatic
#09131A #1A3347 #2A5474 #3A75A1 #5693C2

Accessibility & contrast

On white

8.02
#2A5474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2A5474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5474
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5474#FFFFFF#000000##FFFFFF
##2A54741.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465475
Deuteranopia (green-blind)
#3C4D73
Tritanopia (blue-blind)
#005C5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5474;
/* rgb */ color: rgb(42, 84, 116);
/* oklch */ color: oklch(43.1% 0.071 243.5);
Tailwind
colors: {
  custom: {
    50: '#6b849c',
    500: '#2a5474',
    950: '#000000',
  },
}
SCSS
$custom: #2a5474;
$custom-light: #6b849c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5474",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 116
  },
  "hsl": {
    "h": 205.946,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.07108,
    "h": 243.5
  },
  "luminance": 0.08094
}

Semantic roles & 50–950 ramp

primary
#2A5474
secondary
#A67754
accent
#8B51D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A5474

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

Preview Lab → · Contrast checker → · Palette generator →

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