#2B5282#2B5282

#2B5282 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.091 H 254.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2B5282
RGBrgb(43, 82, 130)
HSLhsl(213, 50%, 34%)
HSVhsv(213, 67%, 51%)
CMYKcmyk(66.9%, 36.9%, 0%, 49%)
CIE-LABlab(34.31, 2.64, -31.09)
CIE-LCHlch(34.31, 31.20, 274.85°)
OKLaboklab(43.41% -0.0241 -0.0882)
OKLCHoklch(43.41% 0.091 254.7)
XYZxyz(8.0414, 8.1591, 22.2658)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5282 #825B2B
analogous
#2B7E82 #2B5282 #2F2B82
triadic
#2B5282 #822B52 #52822B
tetradic
#2B5282 #822B7E #825B2B #2B822F
square
#2B5282 #822B7E #825B2B #2B822F
split-complementary
#2B5282 #822F2B #7E822B
monochromatic
#0D1826 #1C3554 #2B5282 #3A6FB0 #5E8ECA

Accessibility & contrast

On white

7.98
#2B5282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2B5282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5282
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5282#FFFFFF#000000##FFFFFF
##2B52821.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5584
Deuteranopia (green-blind)
#314D81
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5282;
/* rgb */ color: rgb(43, 82, 130);
/* oklch */ color: oklch(43.4% 0.091 254.7);
Tailwind
colors: {
  custom: {
    50: '#6e82a6',
    500: '#2b5282',
    950: '#000000',
  },
}
SCSS
$custom: #2b5282;
$custom-light: #6e82a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5282",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 213.103,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43413,
    "c": 0.09143,
    "h": 254.7
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#2B5282
secondary
#B08959
accent
#9B4EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B5282

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

Preview Lab → · Contrast checker → · Palette generator →

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