#2F5980#2F5980

#2F5980 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.080 H 248.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2F5980
RGBrgb(47, 89, 128)
HSLhsl(209, 46%, 34%)
HSVhsv(209, 63%, 50%)
CMYKcmyk(63.3%, 30.5%, 0%, 49.8%)
CIE-LABlab(36.57, -1.78, -26.29)
CIE-LCHlch(36.57, 26.35, 266.14°)
OKLaboklab(45.2% -0.0294 -0.0741)
OKLCHoklch(45.2% 0.08 248.4)
XYZxyz(8.6395, 9.3068, 21.7590)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5980 #80562F
analogous
#2F807F #2F5980 #2F3080
triadic
#2F5980 #802F59 #59802F
tetradic
#2F5980 #7F2F80 #80562F #30802F
square
#2F5980 #7F2F80 #80562F #30802F
split-complementary
#2F5980 #802F30 #807F2F
monochromatic
#0E1B26 #1F3A53 #2F5980 #3F78AD #6397C6

Accessibility & contrast

On white

7.34
#2F5980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2F5980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5980
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5980#FFFFFF#000000##FFFFFF
##2F59801.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A82
Deuteranopia (green-blind)
#3D527F
Tritanopia (blue-blind)
#006267
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5980;
/* rgb */ color: rgb(47, 89, 128);
/* oklch */ color: oklch(45.2% 0.080 248.4);
Tailwind
colors: {
  custom: {
    50: '#6f87a5',
    500: '#2f5980',
    950: '#000000',
  },
}
SCSS
$custom: #2f5980;
$custom-light: #6f87a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5980",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 128
  },
  "hsl": {
    "h": 208.889,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45196,
    "c": 0.07971,
    "h": 248.4
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#2F5980
secondary
#AD845E
accent
#9152D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5980

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

Preview Lab → · Contrast checker → · Palette generator →

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