#2B5081#2B5081

#2B5081 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.9% C 0.092 H 256.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2B5081
RGBrgb(43, 80, 129)
HSLhsl(214, 50%, 34%)
HSVhsv(214, 67%, 51%)
CMYKcmyk(66.7%, 38%, 0%, 49.4%)
CIE-LABlab(33.64, 3.57, -31.54)
CIE-LCHlch(33.64, 31.74, 276.46°)
OKLaboklab(42.87% -0.0222 -0.0895)
OKLCHoklch(42.87% 0.092 256.1)
XYZxyz(7.8259, 7.8351, 21.8645)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5081 #815C2B
analogous
#2B7B81 #2B5081 #312B81
triadic
#2B5081 #812B50 #50812B
tetradic
#2B5081 #812B7B #815C2B #2B8131
square
#2B5081 #812B7B #815C2B #2B8131
split-complementary
#2B5081 #81312B #7B812B
monochromatic
#0C1725 #1C3453 #2B5081 #3A6CAF #5D8CC9

Accessibility & contrast

On white

8.18
#2B5081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B5081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5081
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5081#FFFFFF#000000##FFFFFF
##2B50811.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b5081;
/* rgb */ color: rgb(43, 80, 129);
/* oklch */ color: oklch(42.9% 0.092 256.1);
Tailwind
colors: {
  custom: {
    50: '#6e80a6',
    500: '#2b5081',
    950: '#000000',
  },
}
SCSS
$custom: #2b5081;
$custom-light: #6e80a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5081",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 129
  },
  "hsl": {
    "h": 214.186,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42868,
    "c": 0.09223,
    "h": 256.1
  },
  "luminance": 0.07836
}

Semantic roles & 50–950 ramp

primary
#2B5081
secondary
#AF8A59
accent
#9E4EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B5081

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

Preview Lab → · Contrast checker → · Palette generator →

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