#2A5B82#2A5B82

#2A5B82 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.6% C 0.083 H 245.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2A5B82
RGBrgb(42, 91, 130)
HSLhsl(207, 51%, 34%)
HSVhsv(207, 68%, 51%)
CMYKcmyk(67.7%, 30%, 0%, 49%)
CIE-LABlab(37.09, -3.28, -26.72)
CIE-LCHlch(37.09, 26.92, 262.99°)
OKLaboklab(45.58% -0.0349 -0.0754)
OKLCHoklch(45.58% 0.083 245.1)
XYZxyz(8.7237, 9.5852, 22.5052)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B82 #82512A
analogous
#2A827D #2A5B82 #2A2F82
triadic
#2A5B82 #822A5B #5B822A
tetradic
#2A5B82 #7D2A82 #82512A #2F822A
square
#2A5B82 #7D2A82 #82512A #2F822A
split-complementary
#2A5B82 #822A2F #827D2A
monochromatic
#0C1A25 #1B3B54 #2A5B82 #397BB0 #5C99CA

Accessibility & contrast

On white

7.20
#2A5B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2A5B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5B82
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B82#FFFFFF#000000##FFFFFF
##2A5B821.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5C84
Deuteranopia (green-blind)
#3E5381
Tritanopia (blue-blind)
#006469
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a5b82;
/* rgb */ color: rgb(42, 91, 130);
/* oklch */ color: oklch(45.6% 0.083 245.1);
Tailwind
colors: {
  custom: {
    50: '#6e89a6',
    500: '#2a5b82',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b82;
$custom-light: #6e89a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b82",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 130
  },
  "hsl": {
    "h": 206.591,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4558,
    "c": 0.08309,
    "h": 245.1
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#2A5B82
secondary
#B07F58
accent
#8C4DDB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A5B82

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

Preview Lab → · Contrast checker → · Palette generator →

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