#2B5F82#2B5F82

#2B5F82 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.6% C 0.079 H 240.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2B5F82
RGBrgb(43, 95, 130)
HSLhsl(204, 50%, 34%)
HSVhsv(204, 67%, 51%)
CMYKcmyk(66.9%, 26.9%, 0%, 49%)
CIE-LABlab(38.39, -5.57, -24.68)
CIE-LCHlch(38.39, 25.30, 257.28°)
OKLaboklab(46.62% -0.0387 -0.0694)
OKLCHoklch(46.62% 0.079 240.9)
XYZxyz(9.1162, 10.3088, 22.6241)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F82 #824E2B
analogous
#2B827A #2B5F82 #2B3482
triadic
#2B5F82 #822B5F #5F822B
tetradic
#2B5F82 #7A2B82 #824E2B #34822B
square
#2B5F82 #7A2B82 #824E2B #34822B
split-complementary
#2B5F82 #822B34 #827A2B
monochromatic
#0D1C26 #1C3D54 #2B5F82 #3A81B0 #5E9ECA

Accessibility & contrast

On white

6.86
#2B5F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2B5F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F82
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F82#FFFFFF#000000##FFFFFF
##2B5F821.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F84
Deuteranopia (green-blind)
#435781
Tritanopia (blue-blind)
#00686B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b5f82;
/* rgb */ color: rgb(43, 95, 130);
/* oklch */ color: oklch(46.6% 0.079 240.9);
Tailwind
colors: {
  custom: {
    50: '#6e8ca6',
    500: '#2b5f82',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f82;
$custom-light: #6e8ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f82",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 130
  },
  "hsl": {
    "h": 204.138,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46621,
    "c": 0.07949,
    "h": 240.9
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#2B5F82
secondary
#B07C59
accent
#864EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2B5F82

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

Preview Lab → · Contrast checker → · Palette generator →

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