#2F6F97#2F6F97

#2F6F97 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.8% C 0.091 H 239.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2F6F97
RGBrgb(47, 111, 151)
HSLhsl(203, 53%, 39%)
HSVhsv(203, 69%, 59%)
CMYKcmyk(68.9%, 26.5%, 0%, 40.8%)
CIE-LABlab(44.53, -7.03, -27.72)
CIE-LCHlch(44.53, 28.60, 255.77°)
OKLaboklab(51.85% -0.0462 -0.078)
OKLCHoklch(51.85% 0.091 239.4)
XYZxyz(12.4405, 14.2063, 31.3586)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6F97 #97572F
analogous
#2F978B #2F6F97 #2F3B97
triadic
#2F6F97 #972F6F #6F972F
tetradic
#2F6F97 #8B2F97 #97572F #3B972F
square
#2F6F97 #8B2F97 #97572F #3B972F
split-complementary
#2F6F97 #972F3B #978B2F
monochromatic
#122A3A #204D68 #2F6F97 #4091C3 #6EACD2

Accessibility & contrast

On white

5.47
#2F6F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2F6F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6F97
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6F97#FFFFFF#000000##FFFFFF
##2F6F971.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6F99
Deuteranopia (green-blind)
#4E6596
Tritanopia (blue-blind)
#00797D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f6f97;
/* rgb */ color: rgb(47, 111, 151);
/* oklch */ color: oklch(51.8% 0.091 239.4);
Tailwind
colors: {
  custom: {
    50: '#7498b5',
    500: '#2f6f97',
    950: '#000000',
  },
}
SCSS
$custom: #2f6f97;
$custom-light: #7498b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6f97",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 151
  },
  "hsl": {
    "h": 203.077,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.09068,
    "h": 239.4
  },
  "luminance": 0.14208
}

Semantic roles & 50–950 ramp

primary
#2F6F97
secondary
#B98868
accent
#834CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2F6F97

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

Preview Lab → · Contrast checker → · Palette generator →

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