#2F7BB8#2F7BB8

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

Color values

HEX#2F7BB8
RGBrgb(47, 123, 184)
HSLhsl(207, 59%, 45%)
HSVhsv(207, 74%, 72%)
CMYKcmyk(74.5%, 33.2%, 0%, 27.8%)
CIE-LABlab(49.77, -2.32, -38.78)
CIE-LCHlch(49.77, 38.85, 266.57°)
OKLaboklab(56.52% -0.0478 -0.11)
OKLCHoklch(56.52% 0.12 246.5)
XYZxyz(16.9037, 18.2290, 47.9658)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BB8 #B86C2F
analogous
#2FB8B0 #2F7BB8 #2F37B8
triadic
#2F7BB8 #B82F7B #7BB82F
tetradic
#2F7BB8 #B02FB8 #B86C2F #37B82F
square
#2F7BB8 #B02FB8 #B86C2F #37B82F
split-complementary
#2F7BB8 #B82F37 #B8B02F
monochromatic
#163A57 #235A87 #2F7BB8 #5299D3 #82B6DF

Accessibility & contrast

On white

4.52
#2F7BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2F7BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7BB8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BB8#FFFFFF#000000##000000
##2F7BB81.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBB
Deuteranopia (green-blind)
#4C71B7
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7bb8;
/* rgb */ color: rgb(47, 123, 184);
/* oklch */ color: oklch(56.5% 0.120 246.5);
Tailwind
colors: {
  custom: {
    50: '#7aa0cd',
    500: '#2f7bb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bb8;
$custom-light: #7aa0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bb8",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 184
  },
  "hsl": {
    "h": 206.715,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56515,
    "c": 0.11999,
    "h": 246.5
  },
  "luminance": 0.18231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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