#2F7BA2#2F7BA2

#2F7BA2 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.3% C 0.095 H 234.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F7BA2
RGBrgb(47, 123, 162)
HSLhsl(200, 55%, 41%)
HSVhsv(200, 71%, 64%)
CMYKcmyk(71%, 24.1%, 0%, 36.5%)
CIE-LABlab(48.73, -10.18, -27.64)
CIE-LCHlch(48.73, 29.46, 249.79°)
OKLaboklab(55.35% -0.055 -0.0777)
OKLCHoklch(55.35% 0.095 234.7)
XYZxyz(14.7743, 17.3772, 36.7509)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BA2 #A2562F
analogous
#2FA28F #2F7BA2 #2F41A2
triadic
#2F7BA2 #A22F7B #7BA22F
tetradic
#2F7BA2 #8F2FA2 #A2562F #41A22F
square
#2F7BA2 #8F2FA2 #A2562F #41A22F
split-complementary
#2F7BA2 #A22F41 #A28F2F
monochromatic
#133343 #215773 #2F7BA2 #459CC9 #75B6D7

Accessibility & contrast

On white

4.69
#2F7BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7BA2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BA2#FFFFFF#000000##FFFFFF
##2F7BA21.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#586FA1
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f7ba2;
/* rgb */ color: rgb(47, 123, 162);
/* oklch */ color: oklch(55.3% 0.095 234.7);
Tailwind
colors: {
  custom: {
    50: '#76a1bd',
    500: '#2f7ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ba2;
$custom-light: #76a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ba2",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 200.348,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55349,
    "c": 0.0952,
    "h": 234.7
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

primary
#2F7BA2
secondary
#BF896E
accent
#7C49DE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F7BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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