#2B5982#2B5982

#2B5982 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.1% C 0.084 H 247.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2B5982
RGBrgb(43, 89, 130)
HSLhsl(208, 50%, 34%)
HSVhsv(208, 67%, 51%)
CMYKcmyk(66.9%, 31.5%, 0%, 49%)
CIE-LABlab(36.50, -1.84, -27.64)
CIE-LCHlch(36.50, 27.70, 266.18°)
OKLaboklab(45.13% -0.0319 -0.0781)
OKLCHoklch(45.13% 0.084 247.7)
XYZxyz(8.5964, 9.2692, 22.4509)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5982 #82542B
analogous
#2B8280 #2B5982 #2B2E82
triadic
#2B5982 #822B59 #59822B
tetradic
#2B5982 #802B82 #82542B #2E822B
square
#2B5982 #802B82 #82542B #2E822B
split-complementary
#2B5982 #822B2E #82802B
monochromatic
#0D1A26 #1C3A54 #2B5982 #3A78B0 #5E97CA

Accessibility & contrast

On white

7.36
#2B5982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2B5982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5982
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5982#FFFFFF#000000##FFFFFF
##2B59821.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B84
Deuteranopia (green-blind)
#3B5281
Tritanopia (blue-blind)
#006367
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b5982;
/* rgb */ color: rgb(43, 89, 130);
/* oklch */ color: oklch(45.1% 0.084 247.7);
Tailwind
colors: {
  custom: {
    50: '#6e87a6',
    500: '#2b5982',
    950: '#000000',
  },
}
SCSS
$custom: #2b5982;
$custom-light: #6e87a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5982",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 130
  },
  "hsl": {
    "h": 208.276,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45126,
    "c": 0.08435,
    "h": 247.7
  },
  "luminance": 0.0927
}

Semantic roles & 50–950 ramp

primary
#2B5982
secondary
#B08259
accent
#904EDA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2B5982

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

Preview Lab → · Contrast checker → · Palette generator →

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