#2F7580#2F7580

#2F7580 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.3% C 0.071 H 209.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2F7580
RGBrgb(47, 117, 128)
HSLhsl(188, 46%, 34%)
HSVhsv(188, 63%, 50%)
CMYKcmyk(63.3%, 8.6%, 0%, 49.8%)
CIE-LABlab(45.48, -18.20, -12.58)
CIE-LCHlch(45.48, 22.12, 214.66°)
OKLaboklab(52.29% -0.062 -0.0349)
OKLCHoklch(52.29% 0.071 209.4)
XYZxyz(11.4282, 14.8842, 22.6886)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7580 #803A2F
analogous
#2F8063 #2F7580 #2F4D80
triadic
#2F7580 #802F75 #75802F
tetradic
#2F7580 #632F80 #803A2F #4D802F
square
#2F7580 #632F80 #803A2F #4D802F
split-complementary
#2F7580 #802F4D #80632F
monochromatic
#0E2326 #1F4C53 #2F7580 #3F9EAD #63B9C6

Accessibility & contrast

On white

5.28
#2F7580 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2F7580 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7580
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7580#FFFFFF#000000##FFFFFF
##2F75801.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7181
Deuteranopia (green-blind)
#5F6880
Tritanopia (blue-blind)
#007A78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7580;
/* rgb */ color: rgb(47, 117, 128);
/* oklch */ color: oklch(52.3% 0.071 209.4);
Tailwind
colors: {
  custom: {
    50: '#719da4',
    500: '#2f7580',
    950: '#000000',
  },
}
SCSS
$custom: #2f7580;
$custom-light: #719da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7580",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 128
  },
  "hsl": {
    "h": 188.148,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52291,
    "c": 0.07113,
    "h": 209.4
  },
  "luminance": 0.14885
}

Semantic roles & 50–950 ramp

primary
#2F7580
secondary
#AD695E
accent
#6452D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7580

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

Preview Lab → · Contrast checker → · Palette generator →

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