#2B5F84#2B5F84

#2B5F84 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.7% C 0.082 H 242.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2B5F84
RGBrgb(43, 95, 132)
HSLhsl(205, 51%, 34%)
HSVhsv(205, 67%, 52%)
CMYKcmyk(67.4%, 28%, 0%, 48.2%)
CIE-LABlab(38.49, -4.85, -25.75)
CIE-LCHlch(38.49, 26.20, 259.33°)
OKLaboklab(46.73% -0.038 -0.0725)
OKLCHoklch(46.73% 0.082 242.3)
XYZxyz(9.2517, 10.3630, 23.3380)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F84 #84502B
analogous
#2B847D #2B5F84 #2B3384
triadic
#2B5F84 #842B5F #5F842B
tetradic
#2B5F84 #7D2B84 #84502B #33842B
square
#2B5F84 #7D2B84 #84502B #33842B
split-complementary
#2B5F84 #842B33 #847D2B
monochromatic
#0D1D28 #1C3E56 #2B5F84 #3A80B2 #5F9ECB

Accessibility & contrast

On white

6.83
#2B5F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2B5F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F84
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F84#FFFFFF#000000##FFFFFF
##2B5F841.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F86
Deuteranopia (green-blind)
#425783
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b5f84;
/* rgb */ color: rgb(43, 95, 132);
/* oklch */ color: oklch(46.7% 0.082 242.3);
Tailwind
colors: {
  custom: {
    50: '#6e8ca8',
    500: '#2b5f84',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f84;
$custom-light: #6e8ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f84",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 132
  },
  "hsl": {
    "h": 204.944,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46728,
    "c": 0.08187,
    "h": 242.3
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#2B5F84
secondary
#B17E5A
accent
#884DDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2B5F84

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

Preview Lab → · Contrast checker → · Palette generator →

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