#2A5486#2A5486

#2A5486 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.1% C 0.095 H 254.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2A5486
RGBrgb(42, 84, 134)
HSLhsl(213, 52%, 35%)
HSVhsv(213, 69%, 53%)
CMYKcmyk(68.7%, 37.3%, 0%, 47.5%)
CIE-LABlab(35.11, 2.65, -32.28)
CIE-LCHlch(35.11, 32.39, 274.69°)
OKLaboklab(44.1% -0.026 -0.0917)
OKLCHoklch(44.1% 0.095 254.2)
XYZxyz(8.4267, 8.5533, 23.7565)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5486 #865C2A
analogous
#2A8286 #2A5486 #2E2A86
triadic
#2A5486 #862A54 #54862A
tetradic
#2A5486 #862A82 #865C2A #2A862E
square
#2A5486 #862A82 #865C2A #2A862E
split-complementary
#2A5486 #862E2A #82862A
monochromatic
#0D1A29 #1B3757 #2A5486 #3971B5 #5E90CD

Accessibility & contrast

On white

7.75
#2A5486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2A5486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5486
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5486#FFFFFF#000000##FFFFFF
##2A54861.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5788
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5486;
/* rgb */ color: rgb(42, 84, 134);
/* oklch */ color: oklch(44.1% 0.095 254.2);
Tailwind
colors: {
  custom: {
    50: '#6e83a9',
    500: '#2a5486',
    950: '#000000',
  },
}
SCSS
$custom: #2a5486;
$custom-light: #6e83a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5486",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 212.609,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44096,
    "c": 0.0953,
    "h": 254.2
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#2A5486
secondary
#B28A5A
accent
#9A4CDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A5486

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

Preview Lab → · Contrast checker → · Palette generator →

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