#2F7BB7#2F7BB7

#2F7BB7 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.5% C 0.119 H 246.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F7BB7
RGBrgb(47, 123, 183)
HSLhsl(206, 59%, 45%)
HSVhsv(206, 74%, 72%)
CMYKcmyk(74.3%, 32.8%, 0%, 28.2%)
CIE-LABlab(49.72, -2.69, -38.28)
CIE-LCHlch(49.72, 38.37, 265.99°)
OKLaboklab(56.46% -0.0481 -0.1086)
OKLCHoklch(56.46% 0.119 246.1)
XYZxyz(16.7992, 18.1872, 47.4157)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BB7 #B76B2F
analogous
#2FB7AF #2F7BB7 #2F37B7
triadic
#2F7BB7 #B72F7B #7BB72F
tetradic
#2F7BB7 #AF2FB7 #B76B2F #37B72F
square
#2F7BB7 #AF2FB7 #B76B2F #37B72F
split-complementary
#2F7BB7 #B72F37 #B7AF2F
monochromatic
#163A56 #225A86 #2F7BB7 #5199D2 #82B6DF

Accessibility & contrast

On white

4.53
#2F7BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2F7BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7BB7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BB7#FFFFFF#000000##000000
##2F7BB71.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DBA
Deuteranopia (green-blind)
#4C71B6
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7bb7;
/* rgb */ color: rgb(47, 123, 183);
/* oklch */ color: oklch(56.5% 0.119 246.1);
Tailwind
colors: {
  custom: {
    50: '#7aa0cd',
    500: '#2f7bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bb7;
$custom-light: #7aa0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bb7",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 206.471,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.11878,
    "h": 246.1
  },
  "luminance": 0.18189
}

Semantic roles & 50–950 ramp

primary
#2F7BB7
secondary
#C89C7A
accent
#8B45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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