#2B5380#2B5380

#2B5380 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.5% C 0.088 H 252.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2B5380
RGBrgb(43, 83, 128)
HSLhsl(212, 50%, 34%)
HSVhsv(212, 66%, 50%)
CMYKcmyk(66.4%, 35.2%, 0%, 49.8%)
CIE-LABlab(34.51, 1.25, -29.53)
CIE-LCHlch(34.51, 29.56, 272.42°)
OKLaboklab(43.54% -0.0258 -0.0836)
OKLCHoklch(43.54% 0.088 252.9)
XYZxyz(7.9844, 8.2578, 21.5910)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5380 #80582B
analogous
#2B7D80 #2B5380 #2D2B80
triadic
#2B5380 #802B53 #53802B
tetradic
#2B5380 #802B7D #80582B #2B802D
square
#2B5380 #802B7D #80582B #2B802D
split-complementary
#2B5380 #802D2B #7D802B
monochromatic
#0C1824 #1C3552 #2B5380 #3A71AE #5D90C9

Accessibility & contrast

On white

7.92
#2B5380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B5380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5380
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5380#FFFFFF#000000##FFFFFF
##2B53801.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405682
Deuteranopia (green-blind)
#344D7F
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5380;
/* rgb */ color: rgb(43, 83, 128);
/* oklch */ color: oklch(43.5% 0.088 252.9);
Tailwind
colors: {
  custom: {
    50: '#6e83a5',
    500: '#2b5380',
    950: '#000000',
  },
}
SCSS
$custom: #2b5380;
$custom-light: #6e83a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5380",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 128
  },
  "hsl": {
    "h": 211.765,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43535,
    "c": 0.08753,
    "h": 252.9
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#2B5380
secondary
#AE8658
accent
#984FD9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B5380

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

Preview Lab → · Contrast checker → · Palette generator →

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