#2A5C84#2A5C84

#2A5C84 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.9% C 0.085 H 245.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2A5C84
RGBrgb(42, 92, 132)
HSLhsl(207, 52%, 34%)
HSVhsv(207, 68%, 52%)
CMYKcmyk(68.2%, 30.3%, 0%, 48.2%)
CIE-LABlab(37.50, -3.18, -27.29)
CIE-LCHlch(37.50, 27.48, 263.36°)
OKLaboklab(45.94% -0.0354 -0.077)
OKLCHoklch(45.94% 0.085 245.3)
XYZxyz(8.9453, 9.8116, 23.2477)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C84 #84522A
analogous
#2A847F #2A5C84 #2A2F84
triadic
#2A5C84 #842A5C #5C842A
tetradic
#2A5C84 #7F2A84 #84522A #2F842A
square
#2A5C84 #7F2A84 #84522A #2F842A
split-complementary
#2A5C84 #842A2F #847F2A
monochromatic
#0C1B27 #1B3C56 #2A5C84 #397CB2 #5D9ACB

Accessibility & contrast

On white

7.09
#2A5C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2A5C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C84
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C84#FFFFFF#000000##FFFFFF
##2A5C841.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5D86
Deuteranopia (green-blind)
#3E5483
Tritanopia (blue-blind)
#00666A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5c84;
/* rgb */ color: rgb(42, 92, 132);
/* oklch */ color: oklch(45.9% 0.085 245.3);
Tailwind
colors: {
  custom: {
    50: '#6e8aa8',
    500: '#2a5c84',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c84;
$custom-light: #6e8aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c84",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 132
  },
  "hsl": {
    "h": 206.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4594,
    "c": 0.08478,
    "h": 245.3
  },
  "luminance": 0.09812
}

Semantic roles & 50–950 ramp

primary
#2A5C84
secondary
#B18059
accent
#8C4DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A5C84

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

Preview Lab → · Contrast checker → · Palette generator →

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