#2A5682#2A5682

#2A5682 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.088 H 250.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2A5682
RGBrgb(42, 86, 130)
HSLhsl(210, 51%, 34%)
HSVhsv(210, 68%, 51%)
CMYKcmyk(67.7%, 33.8%, 0%, 49%)
CIE-LABlab(35.52, -0.13, -29.19)
CIE-LCHlch(35.52, 29.19, 269.75°)
OKLaboklab(44.34% -0.0294 -0.0826)
OKLCHoklch(44.34% 0.088 250.4)
XYZxyz(8.3104, 8.7587, 22.3674)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5682 #82562A
analogous
#2A8282 #2A5682 #2A2A82
triadic
#2A5682 #822A56 #56822A
tetradic
#2A5682 #822A82 #82562A #2A822A
square
#2A5682 #822A82 #82562A #2A822A
split-complementary
#2A5682 #822A2A #82822A
monochromatic
#0C1925 #1B3754 #2A5682 #3975B0 #5C93CA

Accessibility & contrast

On white

7.63
#2A5682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2A5682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5682
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5682#FFFFFF#000000##FFFFFF
##2A56821.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435884
Deuteranopia (green-blind)
#375081
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a5682;
/* rgb */ color: rgb(42, 86, 130);
/* oklch */ color: oklch(44.3% 0.088 250.4);
Tailwind
colors: {
  custom: {
    50: '#6d85a6',
    500: '#2a5682',
    950: '#000000',
  },
}
SCSS
$custom: #2a5682;
$custom-light: #6d85a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5682",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 130
  },
  "hsl": {
    "h": 210,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44343,
    "c": 0.08768,
    "h": 250.4
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#2A5682
secondary
#B08458
accent
#944DDB
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A5682

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

Preview Lab → · Contrast checker → · Palette generator →

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