#2F5A80#2F5A80

#2F5A80 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.4% C 0.079 H 247.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2F5A80
RGBrgb(47, 90, 128)
HSLhsl(208, 46%, 34%)
HSVhsv(208, 63%, 50%)
CMYKcmyk(63.3%, 29.7%, 0%, 49.8%)
CIE-LABlab(36.88, -2.40, -25.80)
CIE-LCHlch(36.88, 25.91, 264.68°)
OKLaboklab(45.44% -0.0305 -0.0727)
OKLCHoklch(45.44% 0.079 247.2)
XYZxyz(8.7233, 9.4744, 21.7869)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5A80 #80552F
analogous
#2F807E #2F5A80 #2F3280
triadic
#2F5A80 #802F5A #5A802F
tetradic
#2F5A80 #7E2F80 #80552F #32802F
square
#2F5A80 #7E2F80 #80552F #32802F
split-complementary
#2F5A80 #802F32 #807E2F
monochromatic
#0E1B26 #1F3B53 #2F5A80 #3F79AD #6398C6

Accessibility & contrast

On white

7.25
#2F5A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2F5A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5A80
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5A80#FFFFFF#000000##FFFFFF
##2F5A801.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B82
Deuteranopia (green-blind)
#3F537F
Tritanopia (blue-blind)
#006367
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f5a80;
/* rgb */ color: rgb(47, 90, 128);
/* oklch */ color: oklch(45.4% 0.079 247.2);
Tailwind
colors: {
  custom: {
    50: '#6f88a5',
    500: '#2f5a80',
    950: '#000000',
  },
}
SCSS
$custom: #2f5a80;
$custom-light: #6f88a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5a80",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 128
  },
  "hsl": {
    "h": 208.148,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45443,
    "c": 0.07883,
    "h": 247.2
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

primary
#2F5A80
secondary
#AD835E
accent
#9052D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5A80

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

Preview Lab → · Contrast checker → · Palette generator →

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