#2F5F82#2F5F82

#2F5F82 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.8% C 0.077 H 242.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2F5F82
RGBrgb(47, 95, 130)
HSLhsl(205, 47%, 35%)
HSVhsv(205, 64%, 51%)
CMYKcmyk(63.8%, 26.9%, 0%, 49%)
CIE-LABlab(38.55, -4.79, -24.42)
CIE-LCHlch(38.55, 24.89, 258.90°)
OKLaboklab(46.79% -0.0357 -0.0686)
OKLCHoklch(46.79% 0.077 242.5)
XYZxyz(9.2923, 10.3996, 22.6324)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F82 #82522F
analogous
#2F827C #2F5F82 #2F3682
triadic
#2F5F82 #822F5F #5F822F
tetradic
#2F5F82 #7C2F82 #82522F #36822F
square
#2F5F82 #7C2F82 #82522F #36822F
split-complementary
#2F5F82 #822F36 #827C2F
monochromatic
#0E1D28 #1F3E55 #2F5F82 #3F80AF #649DC7

Accessibility & contrast

On white

6.82
#2F5F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2F5F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F82
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F82#FFFFFF#000000##FFFFFF
##2F5F821.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f5f82;
/* rgb */ color: rgb(47, 95, 130);
/* oklch */ color: oklch(46.8% 0.077 242.5);
Tailwind
colors: {
  custom: {
    50: '#708ca6',
    500: '#2f5f82',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f82;
$custom-light: #708ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f82",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 130
  },
  "hsl": {
    "h": 205.301,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46791,
    "c": 0.07736,
    "h": 242.5
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#2F5F82
secondary
#AE805F
accent
#8951D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2F5F82

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

Preview Lab → · Contrast checker → · Palette generator →

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