#2F7FBE#2F7FBE

#2F7FBE is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 57.8% C 0.124 H 246.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F7FBE
RGBrgb(47, 127, 190)
HSLhsl(206, 60%, 46%)
HSVhsv(206, 75%, 75%)
CMYKcmyk(75.3%, 33.2%, 0%, 25.5%)
CIE-LABlab(51.27, -2.53, -39.87)
CIE-LCHlch(51.27, 39.95, 266.37°)
OKLaboklab(57.79% -0.0498 -0.1132)
OKLCHoklch(57.79% 0.124 246.2)
XYZxyz(18.0524, 19.4987, 51.5174)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FBE #BE6E2F
analogous
#2FBEB6 #2F7FBE #2F37BE
triadic
#2F7FBE #BE2F7F #7FBE2F
tetradic
#2F7FBE #B62FBE #BE6E2F #37BE2F
square
#2F7FBE #B62FBE #BE6E2F #37BE2F
split-complementary
#2F7FBE #BE2F37 #BEB62F
monochromatic
#173D5C #235E8D #2F7FBE #559DD5 #86B9E1

Accessibility & contrast

On white

4.29
#2F7FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2F7FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FBE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FBE#FFFFFF#000000##000000
##2F7FBE1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6281C1
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f7fbe;
/* rgb */ color: rgb(47, 127, 190);
/* oklch */ color: oklch(57.8% 0.124 246.2);
Tailwind
colors: {
  custom: {
    50: '#7ba3d2',
    500: '#2f7fbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fbe;
$custom-light: #7ba3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fbe",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 206.434,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5779,
    "c": 0.12367,
    "h": 246.2
  },
  "luminance": 0.19501
}

Semantic roles & 50–950 ramp

primary
#2F7FBE
secondary
#CBA07E
accent
#8A44E3
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2F7FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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