#2F7BA1#2F7BA1

#2F7BA1 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.3% C 0.094 H 234.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F7BA1
RGBrgb(47, 123, 161)
HSLhsl(200, 55%, 41%)
HSVhsv(200, 71%, 63%)
CMYKcmyk(70.8%, 23.6%, 0%, 36.9%)
CIE-LABlab(48.69, -10.53, -27.13)
CIE-LCHlch(48.69, 29.10, 248.79°)
OKLaboklab(55.3% -0.0553 -0.0762)
OKLCHoklch(55.3% 0.094 234)
XYZxyz(14.6857, 17.3418, 36.2846)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BA1 #A1552F
analogous
#2FA18E #2F7BA1 #2F42A1
triadic
#2F7BA1 #A12F7B #7BA12F
tetradic
#2F7BA1 #8E2FA1 #A1552F #42A12F
square
#2F7BA1 #8E2FA1 #A1552F #42A12F
split-complementary
#2F7BA1 #A12F42 #A18E2F
monochromatic
#133342 #215772 #2F7BA1 #459DC9 #74B6D6

Accessibility & contrast

On white

4.70
#2F7BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2F7BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7BA1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BA1#FFFFFF#000000##FFFFFF
##2F7BA11.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA3
Deuteranopia (green-blind)
#596FA0
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f7ba1;
/* rgb */ color: rgb(47, 123, 161);
/* oklch */ color: oklch(55.3% 0.094 234.0);
Tailwind
colors: {
  custom: {
    50: '#76a1bd',
    500: '#2f7ba1',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ba1;
$custom-light: #76a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ba1",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 161
  },
  "hsl": {
    "h": 200,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.553,
    "c": 0.0942,
    "h": 234
  },
  "luminance": 0.17343
}

Semantic roles & 50–950 ramp

primary
#2F7BA1
secondary
#BE886E
accent
#7B4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F7BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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