#2F7EB8#2F7EB8

#2F7EB8 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.2% C 0.117 H 244.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F7EB8
RGBrgb(47, 126, 184)
HSLhsl(205, 59%, 45%)
HSVhsv(205, 74%, 72%)
CMYKcmyk(74.5%, 31.5%, 0%, 27.8%)
CIE-LABlab(50.67, -4.11, -37.36)
CIE-LCHlch(50.67, 37.59, 263.73°)
OKLaboklab(57.22% -0.0507 -0.1059)
OKLCHoklch(57.22% 0.117 244.4)
XYZxyz(17.2815, 18.9847, 48.0917)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EB8 #B8692F
analogous
#2FB8AD #2F7EB8 #2F3AB8
triadic
#2F7EB8 #B82F7E #7EB82F
tetradic
#2F7EB8 #AD2FB8 #B8692F #3AB82F
square
#2F7EB8 #AD2FB8 #B8692F #3AB82F
split-complementary
#2F7EB8 #B82F3A #B8AD2F
monochromatic
#163B57 #235D87 #2F7EB8 #529CD3 #82B8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7EB8#FFFFFF#000000##000000
##2F7EB81.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)
#6380BB
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f7eb8;
/* rgb */ color: rgb(47, 126, 184);
/* oklch */ color: oklch(57.2% 0.117 244.4);
Tailwind
colors: {
  custom: {
    50: '#7aa3cd',
    500: '#2f7eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f7eb8;
$custom-light: #7aa3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7eb8",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 184
  },
  "hsl": {
    "h": 205.401,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.11739,
    "h": 244.4
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#2F7EB8
secondary
#C89B7B
accent
#8845E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F7EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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