#2F7BA3#2F7BA3

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

Color values

HEX#2F7BA3
RGBrgb(47, 123, 163)
HSLhsl(201, 55%, 41%)
HSVhsv(201, 71%, 64%)
CMYKcmyk(71.2%, 24.5%, 0%, 36.1%)
CIE-LABlab(48.78, -9.83, -28.16)
CIE-LCHlch(48.78, 29.83, 250.76°)
OKLaboklab(55.4% -0.0546 -0.0792)
OKLCHoklch(55.4% 0.096 235.4)
XYZxyz(14.8635, 17.4129, 37.2209)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BA3 #A3572F
analogous
#2FA391 #2F7BA3 #2F41A3
triadic
#2F7BA3 #A32F7B #7BA32F
tetradic
#2F7BA3 #912FA3 #A3572F #41A32F
square
#2F7BA3 #912FA3 #A3572F #41A32F
split-complementary
#2F7BA3 #A32F41 #A3912F
monochromatic
#143344 #215773 #2F7BA3 #469CCA #75B5D7

Accessibility & contrast

On white

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

On black

4.48
#2F7BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7BA3#FFFFFF#000000##FFFFFF
##2F7BA31.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA5
Deuteranopia (green-blind)
#586FA2
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f7ba3;
/* rgb */ color: rgb(47, 123, 163);
/* oklch */ color: oklch(55.4% 0.096 235.4);
Tailwind
colors: {
  custom: {
    50: '#76a1be',
    500: '#2f7ba3',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ba3;
$custom-light: #76a1be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ba3",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 163
  },
  "hsl": {
    "h": 200.69,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55399,
    "c": 0.09621,
    "h": 235.4
  },
  "luminance": 0.17415
}

Semantic roles & 50–950 ramp

primary
#2F7BA3
secondary
#BF8A6F
accent
#7D49DF
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F7BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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