#2F7CB5#2F7CB5

#2F7CB5 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.6% C 0.116 H 244.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F7CB5
RGBrgb(47, 124, 181)
HSLhsl(206, 59%, 45%)
HSVhsv(206, 74%, 71%)
CMYKcmyk(74%, 31.5%, 0%, 29%)
CIE-LABlab(49.92, -4.01, -36.81)
CIE-LCHlch(49.92, 37.03, 263.79°)
OKLaboklab(56.58% -0.0497 -0.1043)
OKLCHoklch(56.58% 0.116 244.5)
XYZxyz(16.7172, 18.3539, 46.3687)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CB5 #B5682F
analogous
#2FB5AB #2F7CB5 #2F39B5
triadic
#2F7CB5 #B52F7C #7CB52F
tetradic
#2F7CB5 #AB2FB5 #B5682F #39B52F
square
#2F7CB5 #AB2FB5 #B5682F #39B52F
split-complementary
#2F7CB5 #B52F39 #B5AB2F
monochromatic
#163954 #225B84 #2F7CB5 #509AD1 #80B6DE

Accessibility & contrast

On white

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

On black

4.67
#2F7CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CB5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CB5#FFFFFF#000000##000000
##2F7CB51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#627EB7
Deuteranopia (green-blind)
#4F71B4
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7cb5;
/* rgb */ color: rgb(47, 124, 181);
/* oklch */ color: oklch(56.6% 0.116 244.5);
Tailwind
colors: {
  custom: {
    50: '#79a1cb',
    500: '#2f7cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cb5;
$custom-light: #79a1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cb5",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 181
  },
  "hsl": {
    "h": 205.522,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56585,
    "c": 0.11552,
    "h": 244.5
  },
  "luminance": 0.18356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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