#2B5980#2B5980

#2B5980 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.0% C 0.082 H 246.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2B5980
RGBrgb(43, 89, 128)
HSLhsl(208, 50%, 34%)
HSVhsv(208, 66%, 50%)
CMYKcmyk(66.4%, 30.5%, 0%, 49.8%)
CIE-LABlab(36.40, -2.57, -26.57)
CIE-LCHlch(36.40, 26.70, 264.47°)
OKLaboklab(45.01% -0.0326 -0.075)
OKLCHoklch(45.01% 0.082 246.5)
XYZxyz(8.4635, 9.2160, 21.7507)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5980 #80522B
analogous
#2B807C #2B5980 #2B2E80
triadic
#2B5980 #802B59 #59802B
tetradic
#2B5980 #7C2B80 #80522B #2E802B
square
#2B5980 #7C2B80 #80522B #2E802B
split-complementary
#2B5980 #802B2E #807C2B
monochromatic
#0C1924 #1C3952 #2B5980 #3A79AE #5D97C9

Accessibility & contrast

On white

7.39
#2B5980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5980
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5980#FFFFFF#000000##FFFFFF
##2B59801.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A82
Deuteranopia (green-blind)
#3C527F
Tritanopia (blue-blind)
#006267
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b5980;
/* rgb */ color: rgb(43, 89, 128);
/* oklch */ color: oklch(45.0% 0.082 246.5);
Tailwind
colors: {
  custom: {
    50: '#6e87a5',
    500: '#2b5980',
    950: '#000000',
  },
}
SCSS
$custom: #2b5980;
$custom-light: #6e87a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5980",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 128
  },
  "hsl": {
    "h": 207.529,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45014,
    "c": 0.08175,
    "h": 246.5
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#2B5980
secondary
#AE8058
accent
#8E4FD9
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2B5980

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

Preview Lab → · Contrast checker → · Palette generator →

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