#2F7AA1#2F7AA1

#2F7AA1 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.1% C 0.095 H 235.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2F7AA1
RGBrgb(47, 122, 161)
HSLhsl(201, 55%, 41%)
HSVhsv(201, 71%, 63%)
CMYKcmyk(70.8%, 24.2%, 0%, 36.9%)
CIE-LABlab(48.38, -9.95, -27.61)
CIE-LCHlch(48.38, 29.35, 250.18°)
OKLaboklab(55.05% -0.0543 -0.0776)
OKLCHoklch(55.05% 0.095 235)
XYZxyz(14.5623, 17.0950, 36.2435)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AA1 #A1562F
analogous
#2FA18F #2F7AA1 #2F41A1
triadic
#2F7AA1 #A12F7A #7AA12F
tetradic
#2F7AA1 #8F2FA1 #A1562F #41A12F
square
#2F7AA1 #8F2FA1 #A1562F #41A12F
split-complementary
#2F7AA1 #A12F41 #A18F2F
monochromatic
#133242 #215672 #2F7AA1 #459BC9 #74B5D6

Accessibility & contrast

On white

4.75
#2F7AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2F7AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7AA1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AA1#FFFFFF#000000##FFFFFF
##2F7AA11.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6779A3
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7aa1;
/* rgb */ color: rgb(47, 122, 161);
/* oklch */ color: oklch(55.1% 0.095 235.0);
Tailwind
colors: {
  custom: {
    50: '#76a0bd',
    500: '#2f7aa1',
    950: '#000000',
  },
}
SCSS
$custom: #2f7aa1;
$custom-light: #76a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7aa1",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 161
  },
  "hsl": {
    "h": 200.526,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55054,
    "c": 0.09473,
    "h": 235
  },
  "luminance": 0.17097
}

Semantic roles & 50–950 ramp

primary
#2F7AA1
secondary
#BE896E
accent
#7C4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F7AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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