#2F7FB8#2F7FB8

#2F7FB8 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.5% C 0.117 H 243.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F7FB8
RGBrgb(47, 127, 184)
HSLhsl(205, 59%, 45%)
HSVhsv(205, 74%, 72%)
CMYKcmyk(74.5%, 31%, 0%, 27.8%)
CIE-LABlab(50.97, -4.70, -36.89)
CIE-LCHlch(50.97, 37.19, 262.74°)
OKLaboklab(57.46% -0.0516 -0.1045)
OKLCHoklch(57.46% 0.117 243.7)
XYZxyz(17.4100, 19.2418, 48.1346)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FB8 #B8682F
analogous
#2FB8AD #2F7FB8 #2F3AB8
triadic
#2F7FB8 #B82F7F #7FB82F
tetradic
#2F7FB8 #AD2FB8 #B8682F #3AB82F
square
#2F7FB8 #AD2FB8 #B8682F #3AB82F
split-complementary
#2F7FB8 #B82F3A #B8AD2F
monochromatic
#163C57 #235D87 #2F7FB8 #529DD3 #82B8DF

Accessibility & contrast

On white

4.33
#2F7FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2F7FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FB8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FB8#FFFFFF#000000##000000
##2F7FB81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580BA
Deuteranopia (green-blind)
#5274B7
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f7fb8;
/* rgb */ color: rgb(47, 127, 184);
/* oklch */ color: oklch(57.5% 0.117 243.7);
Tailwind
colors: {
  custom: {
    50: '#7aa3cd',
    500: '#2f7fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fb8;
$custom-light: #7aa3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fb8",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 184
  },
  "hsl": {
    "h": 204.964,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57459,
    "c": 0.11656,
    "h": 243.7
  },
  "luminance": 0.19244
}

Semantic roles & 50–950 ramp

primary
#2F7FB8
secondary
#C89B7B
accent
#8745E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #2F7FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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