#2F7EA1#2F7EA1

#2F7EA1 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.093 H 231.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F7EA1
RGBrgb(47, 126, 161)
HSLhsl(198, 55%, 41%)
HSVhsv(198, 71%, 63%)
CMYKcmyk(70.8%, 21.7%, 0%, 36.9%)
CIE-LABlab(49.61, -12.24, -25.69)
CIE-LCHlch(49.61, 28.46, 244.53°)
OKLaboklab(56.04% -0.0585 -0.0721)
OKLCHoklch(56.04% 0.093 231)
XYZxyz(15.0636, 18.0976, 36.4106)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EA1 #A1522F
analogous
#2FA18B #2F7EA1 #2F45A1
triadic
#2F7EA1 #A12F7E #7EA12F
tetradic
#2F7EA1 #8B2FA1 #A1522F #45A12F
square
#2F7EA1 #8B2FA1 #A1522F #45A12F
split-complementary
#2F7EA1 #A12F45 #A18B2F
monochromatic
#133442 #215972 #2F7EA1 #45A0C9 #74B8D6

Accessibility & contrast

On white

4.55
#2F7EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2F7EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EA1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EA1#FFFFFF#000000##000000
##2F7EA11.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA3
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7ea1;
/* rgb */ color: rgb(47, 126, 161);
/* oklch */ color: oklch(56.0% 0.093 231.0);
Tailwind
colors: {
  custom: {
    50: '#76a3bd',
    500: '#2f7ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ea1;
$custom-light: #76a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ea1",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 198.421,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56038,
    "c": 0.09281,
    "h": 231
  },
  "luminance": 0.18099
}

Semantic roles & 50–950 ramp

primary
#2F7EA1
secondary
#BE866E
accent
#774ADE
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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