#2F7BBA#2F7BBA

#2F7BBA is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.6% C 0.122 H 247.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F7BBA
RGBrgb(47, 123, 186)
HSLhsl(207, 60%, 46%)
HSVhsv(207, 75%, 73%)
CMYKcmyk(74.7%, 33.9%, 0%, 27.1%)
CIE-LABlab(49.87, -1.59, -39.77)
CIE-LCHlch(49.87, 39.80, 267.70°)
OKLaboklab(56.63% -0.0472 -0.1129)
OKLCHoklch(56.63% 0.122 247.3)
XYZxyz(17.1148, 18.3135, 49.0777)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BBA #BA6E2F
analogous
#2FBAB3 #2F7BBA #2F35BA
triadic
#2F7BBA #BA2F7B #7BBA2F
tetradic
#2F7BBA #B32FBA #BA6E2F #35BA2F
square
#2F7BBA #B32FBA #BA6E2F #35BA2F
split-complementary
#2F7BBA #BA2F35 #BAB32F
monochromatic
#163A58 #235B89 #2F7BBA #5399D3 #84B6E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7BBA#FFFFFF#000000##000000
##2F7BBA1.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)
#5E7EBD
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7bba;
/* rgb */ color: rgb(47, 123, 186);
/* oklch */ color: oklch(56.6% 0.122 247.3);
Tailwind
colors: {
  custom: {
    50: '#7aa0cf',
    500: '#2f7bba',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bba;
$custom-light: #7aa0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bba",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 186
  },
  "hsl": {
    "h": 207.194,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56628,
    "c": 0.12243,
    "h": 247.3
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

primary
#2F7BBA
secondary
#C99F7C
accent
#8D45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F7BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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