#2F7DBE#2F7DBE

#2F7DBE is a mid, vivid cyan. Relative luminance 0.190; OKLCH L 57.3% C 0.125 H 247.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F7DBE
RGBrgb(47, 125, 190)
HSLhsl(207, 60%, 46%)
HSVhsv(207, 75%, 75%)
CMYKcmyk(75.3%, 34.2%, 0%, 25.5%)
CIE-LABlab(50.67, -1.33, -40.81)
CIE-LCHlch(50.67, 40.83, 268.13°)
OKLaboklab(57.32% -0.048 -0.1159)
OKLCHoklch(57.32% 0.125 247.5)
XYZxyz(17.7966, 18.9872, 51.4322)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DBE #BE702F
analogous
#2FBEB8 #2F7DBE #2F35BE
triadic
#2F7DBE #BE2F7D #7DBE2F
tetradic
#2F7DBE #B82FBE #BE702F #35BE2F
square
#2F7DBE #B82FBE #BE702F #35BE2F
split-complementary
#2F7DBE #BE2F35 #BEB82F
monochromatic
#173C5C #235D8D #2F7DBE #559BD5 #86B8E1

Accessibility & contrast

On white

4.38
#2F7DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2F7DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DBE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DBE#FFFFFF#000000##000000
##2F7DBE1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C1
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#008D95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f7dbe;
/* rgb */ color: rgb(47, 125, 190);
/* oklch */ color: oklch(57.3% 0.125 247.5);
Tailwind
colors: {
  custom: {
    50: '#7ba2d2',
    500: '#2f7dbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f7dbe;
$custom-light: #7ba2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7dbe",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 190
  },
  "hsl": {
    "h": 207.273,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57323,
    "c": 0.12548,
    "h": 247.5
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

primary
#2F7DBE
secondary
#CBA17E
accent
#8D44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F14
muted
#7C7E82

Preview Lab

Preview with #2F7DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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