#2F7BBE#2F7BBE

#2F7BBE is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 56.9% C 0.127 H 248.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F7BBE
RGBrgb(47, 123, 190)
HSLhsl(208, 60%, 46%)
HSVhsv(208, 75%, 75%)
CMYKcmyk(75.3%, 35.3%, 0%, 25.5%)
CIE-LABlab(50.08, -0.13, -41.74)
CIE-LCHlch(50.08, 41.74, 269.82°)
OKLaboklab(56.86% -0.0461 -0.1187)
OKLCHoklch(56.86% 0.127 248.8)
XYZxyz(17.5460, 18.4859, 51.3486)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BBE #BE722F
analogous
#2FBEBA #2F7BBE #2F33BE
triadic
#2F7BBE #BE2F7B #7BBE2F
tetradic
#2F7BBE #BA2FBE #BE722F #33BE2F
square
#2F7BBE #BA2FBE #BE722F #33BE2F
split-complementary
#2F7BBE #BE2F33 #BEBA2F
monochromatic
#173B5C #235B8D #2F7BBE #5599D5 #86B7E1

Accessibility & contrast

On white

4.47
#2F7BBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2F7BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7BBE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BBE#FFFFFF#000000##000000
##2F7BBE1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EC1
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#008B93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7bbe;
/* rgb */ color: rgb(47, 123, 190);
/* oklch */ color: oklch(56.9% 0.127 248.8);
Tailwind
colors: {
  custom: {
    50: '#7ba0d2',
    500: '#2f7bbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bbe;
$custom-light: #7ba0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bbe",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 190
  },
  "hsl": {
    "h": 208.112,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56858,
    "c": 0.12736,
    "h": 248.8
  },
  "luminance": 0.18488
}

Semantic roles & 50–950 ramp

primary
#2F7BBE
secondary
#CBA27E
accent
#8F44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F7BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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