#2A5886#2A5886

#2A5886 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.1% C 0.091 H 250.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2A5886
RGBrgb(42, 88, 134)
HSLhsl(210, 52%, 35%)
HSVhsv(210, 69%, 53%)
CMYKcmyk(68.7%, 34.3%, 0%, 47.5%)
CIE-LABlab(36.35, 0.08, -30.32)
CIE-LCHlch(36.35, 30.32, 270.15°)
OKLaboklab(45.07% -0.0304 -0.0859)
OKLCHoklch(45.07% 0.091 250.5)
XYZxyz(8.7461, 9.1920, 23.8629)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5886 #86582A
analogous
#2A8686 #2A5886 #2A2A86
triadic
#2A5886 #862A58 #58862A
tetradic
#2A5886 #862A86 #86582A #2A862A
square
#2A5886 #862A86 #86582A #2A862A
split-complementary
#2A5886 #862A2A #86862A
monochromatic
#0D1B29 #1B3957 #2A5886 #3977B5 #5E95CD

Accessibility & contrast

On white

7.40
#2A5886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2A5886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5886
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5886#FFFFFF#000000##FFFFFF
##2A58861.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445A88
Deuteranopia (green-blind)
#375285
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a5886;
/* rgb */ color: rgb(42, 88, 134);
/* oklch */ color: oklch(45.1% 0.091 250.5);
Tailwind
colors: {
  custom: {
    50: '#6e86a9',
    500: '#2a5886',
    950: '#000000',
  },
}
SCSS
$custom: #2a5886;
$custom-light: #6e86a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5886",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 134
  },
  "hsl": {
    "h": 210,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45068,
    "c": 0.09111,
    "h": 250.5
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#2A5886
secondary
#B2865A
accent
#944CDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2A5886

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

Preview Lab → · Contrast checker → · Palette generator →

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