#2F7097#2F7097

#2F7097 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.1% C 0.090 H 238.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2F7097
RGBrgb(47, 112, 151)
HSLhsl(203, 53%, 39%)
HSVhsv(203, 69%, 59%)
CMYKcmyk(68.9%, 25.8%, 0%, 40.8%)
CIE-LABlab(44.84, -7.62, -27.24)
CIE-LCHlch(44.84, 28.28, 254.37°)
OKLaboklab(52.09% -0.0473 -0.0766)
OKLCHoklch(52.09% 0.09 238.3)
XYZxyz(12.5502, 14.4257, 31.3952)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7097 #97562F
analogous
#2F978A #2F7097 #2F3C97
triadic
#2F7097 #972F70 #70972F
tetradic
#2F7097 #8A2F97 #97562F #3C972F
square
#2F7097 #8A2F97 #97562F #3C972F
split-complementary
#2F7097 #972F3C #978A2F
monochromatic
#122B3A #204D68 #2F7097 #4092C3 #6EADD2

Accessibility & contrast

On white

5.40
#2F7097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2F7097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7097
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7097#FFFFFF#000000##FFFFFF
##2F70971.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7099
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#007A7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7097;
/* rgb */ color: rgb(47, 112, 151);
/* oklch */ color: oklch(52.1% 0.090 238.3);
Tailwind
colors: {
  custom: {
    50: '#7499b5',
    500: '#2f7097',
    950: '#000000',
  },
}
SCSS
$custom: #2f7097;
$custom-light: #7499b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7097",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 151
  },
  "hsl": {
    "h": 202.5,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.09005,
    "h": 238.3
  },
  "luminance": 0.14427
}

Semantic roles & 50–950 ramp

primary
#2F7097
secondary
#B98768
accent
#824CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2F7097

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

Preview Lab → · Contrast checker → · Palette generator →

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