#2B5080#2B5080

#2B5080 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.091 H 255.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2B5080
RGBrgb(43, 80, 128)
HSLhsl(214, 50%, 34%)
HSVhsv(214, 66%, 50%)
CMYKcmyk(66.4%, 37.5%, 0%, 49.8%)
CIE-LABlab(33.58, 3.19, -31.01)
CIE-LCHlch(33.58, 31.17, 275.88°)
OKLaboklab(42.81% -0.0224 -0.088)
OKLCHoklch(42.81% 0.091 255.7)
XYZxyz(7.7598, 7.8087, 21.5162)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5080 #805B2B
analogous
#2B7A80 #2B5080 #302B80
triadic
#2B5080 #802B50 #50802B
tetradic
#2B5080 #802B7A #805B2B #2B8030
square
#2B5080 #802B7A #805B2B #2B8030
split-complementary
#2B5080 #80302B #7A802B
monochromatic
#0C1724 #1C3352 #2B5080 #3A6DAE #5D8CC9

Accessibility & contrast

On white

8.20
#2B5080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2B5080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5080
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5080#FFFFFF#000000##FFFFFF
##2B50801.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5382
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5080;
/* rgb */ color: rgb(43, 80, 128);
/* oklch */ color: oklch(42.8% 0.091 255.7);
Tailwind
colors: {
  custom: {
    50: '#6e80a5',
    500: '#2b5080',
    950: '#000000',
  },
}
SCSS
$custom: #2b5080;
$custom-light: #6e80a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5080",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 128
  },
  "hsl": {
    "h": 213.882,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42806,
    "c": 0.09079,
    "h": 255.7
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#2B5080
secondary
#AE8958
accent
#9D4FD9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B5080

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

Preview Lab → · Contrast checker → · Palette generator →

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