#2F7BA4#2F7BA4

#2F7BA4 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.4% C 0.097 H 236.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2F7BA4
RGBrgb(47, 123, 164)
HSLhsl(201, 55%, 41%)
HSVhsv(201, 71%, 64%)
CMYKcmyk(71.3%, 25%, 0%, 35.7%)
CIE-LABlab(48.82, -9.48, -28.67)
CIE-LCHlch(48.82, 30.20, 251.71°)
OKLaboklab(55.45% -0.0543 -0.0807)
OKLCHoklch(55.45% 0.097 236.1)
XYZxyz(14.9535, 17.4489, 37.6947)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BA4 #A4582F
analogous
#2FA493 #2F7BA4 #2F41A4
triadic
#2F7BA4 #A42F7B #7BA42F
tetradic
#2F7BA4 #932FA4 #A4582F #41A42F
square
#2F7BA4 #932FA4 #A4582F #41A42F
split-complementary
#2F7BA4 #A42F41 #A4932F
monochromatic
#143445 #215774 #2F7BA4 #469CCA #76B5D8

Accessibility & contrast

On white

4.68
#2F7BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2F7BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7BA4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BA4#FFFFFF#000000##FFFFFF
##2F7BA41.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677AA6
Deuteranopia (green-blind)
#576FA3
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f7ba4;
/* rgb */ color: rgb(47, 123, 164);
/* oklch */ color: oklch(55.4% 0.097 236.1);
Tailwind
colors: {
  custom: {
    50: '#76a1bf',
    500: '#2f7ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ba4;
$custom-light: #76a1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ba4",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 164
  },
  "hsl": {
    "h": 201.026,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.09725,
    "h": 236.1
  },
  "luminance": 0.17451
}

Semantic roles & 50–950 ramp

primary
#2F7BA4
secondary
#C08B6F
accent
#7E49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F7BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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