#2F5B82#2F5B82

#2F5B82 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.8% C 0.081 H 247.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2F5B82
RGBrgb(47, 91, 130)
HSLhsl(208, 47%, 35%)
HSVhsv(208, 64%, 51%)
CMYKcmyk(63.8%, 30%, 0%, 49%)
CIE-LABlab(37.29, -2.32, -26.38)
CIE-LCHlch(37.29, 26.48, 264.98°)
OKLaboklab(45.8% -0.0311 -0.0743)
OKLCHoklch(45.8% 0.081 247.3)
XYZxyz(8.9412, 9.6974, 22.5153)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B82 #82562F
analogous
#2F8280 #2F5B82 #2F3182
triadic
#2F5B82 #822F5B #5B822F
tetradic
#2F5B82 #802F82 #82562F #31822F
square
#2F5B82 #802F82 #82562F #31822F
split-complementary
#2F5B82 #822F31 #82802F
monochromatic
#0E1C28 #1F3C55 #2F5B82 #3F7AAF #6499C7

Accessibility & contrast

On white

7.14
#2F5B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2F5B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5B82
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B82#FFFFFF#000000##FFFFFF
##2F5B821.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5C84
Deuteranopia (green-blind)
#3F5481
Tritanopia (blue-blind)
#006469
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f5b82;
/* rgb */ color: rgb(47, 91, 130);
/* oklch */ color: oklch(45.8% 0.081 247.3);
Tailwind
colors: {
  custom: {
    50: '#7089a6',
    500: '#2f5b82',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b82;
$custom-light: #7089a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b82",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 130
  },
  "hsl": {
    "h": 208.193,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.458,
    "c": 0.08057,
    "h": 247.3
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#2F5B82
secondary
#AE845F
accent
#9051D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5B82

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

Preview Lab → · Contrast checker → · Palette generator →

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