#2F7BA9#2F7BA9

#2F7BA9 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.103 H 239.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F7BA9
RGBrgb(47, 123, 169)
HSLhsl(203, 56%, 42%)
HSVhsv(203, 72%, 66%)
CMYKcmyk(72.2%, 27.2%, 0%, 33.7%)
CIE-LABlab(49.05, -7.72, -31.23)
CIE-LCHlch(49.05, 32.17, 256.12°)
OKLaboklab(55.71% -0.0525 -0.0881)
OKLCHoklch(55.71% 0.103 239.2)
XYZxyz(15.4139, 17.6331, 40.1196)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BA9 #A95D2F
analogous
#2FA99A #2F7BA9 #2F3EA9
triadic
#2F7BA9 #A92F7B #7BA92F
tetradic
#2F7BA9 #9A2FA9 #A95D2F #3EA92F
square
#2F7BA9 #9A2FA9 #A95D2F #3EA92F
split-complementary
#2F7BA9 #A92F3E #A99A2F
monochromatic
#143549 #225879 #2F7BA9 #499BCC #79B5DA

Accessibility & contrast

On white

4.64
#2F7BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2F7BA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7BA9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BA9#FFFFFF#000000##FFFFFF
##2F7BA91.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667BAB
Deuteranopia (green-blind)
#556FA8
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7ba9;
/* rgb */ color: rgb(47, 123, 169);
/* oklch */ color: oklch(55.7% 0.103 239.2);
Tailwind
colors: {
  custom: {
    50: '#77a1c2',
    500: '#2f7ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ba9;
$custom-light: #77a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ba9",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 169
  },
  "hsl": {
    "h": 202.623,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55705,
    "c": 0.10256,
    "h": 239.2
  },
  "luminance": 0.17635
}

Semantic roles & 50–950 ramp

primary
#2F7BA9
secondary
#C29072
accent
#8148E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F7BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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