#2F7CB4#2F7CB4

#2F7CB4 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.5% C 0.114 H 244.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F7CB4
RGBrgb(47, 124, 180)
HSLhsl(205, 59%, 45%)
HSVhsv(205, 74%, 71%)
CMYKcmyk(73.9%, 31.1%, 0%, 29.4%)
CIE-LABlab(49.87, -4.37, -36.31)
CIE-LCHlch(49.87, 36.57, 263.14°)
OKLaboklab(56.53% -0.05 -0.1028)
OKLCHoklch(56.53% 0.114 244.1)
XYZxyz(16.6150, 18.3130, 45.8303)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CB4 #B4672F
analogous
#2FB4AA #2F7CB4 #2F3AB4
triadic
#2F7CB4 #B42F7C #7CB42F
tetradic
#2F7CB4 #AA2FB4 #B4672F #3AB42F
square
#2F7CB4 #AA2FB4 #B4672F #3AB42F
split-complementary
#2F7CB4 #B42F3A #B4AA2F
monochromatic
#163953 #225B83 #2F7CB4 #4F9AD1 #80B6DE

Accessibility & contrast

On white

4.50
#2F7CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2F7CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CB4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CB4#FFFFFF#000000##000000
##2F7CB41.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#627EB6
Deuteranopia (green-blind)
#5071B3
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7cb4;
/* rgb */ color: rgb(47, 124, 180);
/* oklch */ color: oklch(56.5% 0.114 244.1);
Tailwind
colors: {
  custom: {
    50: '#79a1ca',
    500: '#2f7cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cb4;
$custom-light: #79a1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cb4",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 180
  },
  "hsl": {
    "h": 205.263,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.11434,
    "h": 244.1
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

primary
#2F7CB4
secondary
#C79978
accent
#8846E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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