#2F7EB7#2F7EB7

#2F7EB7 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.2% C 0.116 H 244.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F7EB7
RGBrgb(47, 126, 183)
HSLhsl(205, 59%, 45%)
HSVhsv(205, 74%, 72%)
CMYKcmyk(74.3%, 31.1%, 0%, 28.2%)
CIE-LABlab(50.62, -4.47, -36.87)
CIE-LCHlch(50.62, 37.14, 263.09°)
OKLaboklab(57.17% -0.051 -0.1044)
OKLCHoklch(57.17% 0.116 244)
XYZxyz(17.1771, 18.9430, 47.5416)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EB7 #B7682F
analogous
#2FB7AC #2F7EB7 #2F3AB7
triadic
#2F7EB7 #B72F7E #7EB72F
tetradic
#2F7EB7 #AC2FB7 #B7682F #3AB72F
square
#2F7EB7 #AC2FB7 #B7682F #3AB72F
split-complementary
#2F7EB7 #B72F3A #B7AC2F
monochromatic
#163B56 #225C86 #2F7EB7 #519CD2 #82B8DF

Accessibility & contrast

On white

4.39
#2F7EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2F7EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EB7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EB7#FFFFFF#000000##000000
##2F7EB71.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6480B9
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7eb7;
/* rgb */ color: rgb(47, 126, 183);
/* oklch */ color: oklch(57.2% 0.116 244.0);
Tailwind
colors: {
  custom: {
    50: '#7aa3cd',
    500: '#2f7eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f7eb7;
$custom-light: #7aa3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7eb7",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 183
  },
  "hsl": {
    "h": 205.147,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57168,
    "c": 0.11622,
    "h": 244
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#2F7EB7
secondary
#C89B7A
accent
#8745E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F7EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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