#2F7BB4#2F7BB4

#2F7BB4 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.3% C 0.115 H 244.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7BB4
RGBrgb(47, 123, 180)
HSLhsl(206, 59%, 45%)
HSVhsv(206, 74%, 71%)
CMYKcmyk(73.9%, 31.7%, 0%, 29.4%)
CIE-LABlab(49.57, -3.77, -36.78)
CIE-LCHlch(49.57, 36.98, 264.14°)
OKLaboklab(56.29% -0.049 -0.1042)
OKLCHoklch(56.29% 0.115 244.8)
XYZxyz(16.4903, 18.0637, 45.7887)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BB4 #B4682F
analogous
#2FB4AA #2F7BB4 #2F39B4
triadic
#2F7BB4 #B42F7B #7BB42F
tetradic
#2F7BB4 #AA2FB4 #B4682F #39B42F
square
#2F7BB4 #AA2FB4 #B4682F #39B42F
split-complementary
#2F7BB4 #B42F39 #B4AA2F
monochromatic
#163953 #225A83 #2F7BB4 #4F99D1 #80B5DE

Accessibility & contrast

On white

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

On black

4.61
#2F7BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7BB4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BB4#FFFFFF#000000##000000
##2F7BB41.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB6
Deuteranopia (green-blind)
#4E70B3
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7bb4;
/* rgb */ color: rgb(47, 123, 180);
/* oklch */ color: oklch(56.3% 0.115 244.8);
Tailwind
colors: {
  custom: {
    50: '#79a0ca',
    500: '#2f7bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bb4;
$custom-light: #79a0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bb4",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 180
  },
  "hsl": {
    "h": 205.714,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.11517,
    "h": 244.8
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#2F7BB4
secondary
#C79A78
accent
#8946E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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