#2F5F7F#2F5F7F

#2F5F7F is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.6% C 0.074 H 240.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2F5F7F
RGBrgb(47, 95, 127)
HSLhsl(204, 46%, 34%)
HSVhsv(204, 63%, 50%)
CMYKcmyk(63%, 25.2%, 0%, 50.2%)
CIE-LABlab(38.41, -5.84, -22.81)
CIE-LCHlch(38.41, 23.55, 255.63°)
OKLaboklab(46.64% -0.0368 -0.064)
OKLCHoklch(46.64% 0.074 240.1)
XYZxyz(9.0938, 10.3202, 21.5873)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F7F #7F4F2F
analogous
#2F7F77 #2F5F7F #2F377F
triadic
#2F5F7F #7F2F5F #5F7F2F
tetradic
#2F5F7F #772F7F #7F4F2F #377F2F
square
#2F5F7F #772F7F #7F4F2F #377F2F
split-complementary
#2F5F7F #7F2F37 #7F772F
monochromatic
#0E1C26 #1E3E52 #2F5F7F #4080AC #639EC5

Accessibility & contrast

On white

6.85
#2F5F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2F5F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F7F
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F7F#FFFFFF#000000##FFFFFF
##2F5F7F1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F80
Deuteranopia (green-blind)
#46577E
Tritanopia (blue-blind)
#00676A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5f7f;
/* rgb */ color: rgb(47, 95, 127);
/* oklch */ color: oklch(46.6% 0.074 240.1);
Tailwind
colors: {
  custom: {
    50: '#708ca4',
    500: '#2f5f7f',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f7f;
$custom-light: #708ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f7f",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 127
  },
  "hsl": {
    "h": 204,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46635,
    "c": 0.07379,
    "h": 240.1
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#2F5F7F
secondary
#AC7D5E
accent
#8752D6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2F5F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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