#2F7FB7#2F7FB7

#2F7FB7 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.115 H 243.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F7FB7
RGBrgb(47, 127, 183)
HSLhsl(205, 59%, 45%)
HSVhsv(205, 74%, 72%)
CMYKcmyk(74.3%, 30.6%, 0%, 28.2%)
CIE-LABlab(50.92, -5.06, -36.39)
CIE-LCHlch(50.92, 36.74, 262.09°)
OKLaboklab(57.4% -0.0519 -0.103)
OKLCHoklch(57.4% 0.115 243.2)
XYZxyz(17.3056, 19.2000, 47.5845)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FB7 #B7672F
analogous
#2FB7AB #2F7FB7 #2F3BB7
triadic
#2F7FB7 #B72F7F #7FB72F
tetradic
#2F7FB7 #AB2FB7 #B7672F #3BB72F
square
#2F7FB7 #AB2FB7 #B7672F #3BB72F
split-complementary
#2F7FB7 #B72F3B #B7AB2F
monochromatic
#163B56 #225D86 #2F7FB7 #519DD2 #82B8DF

Accessibility & contrast

On white

4.34
#2F7FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2F7FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FB7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FB7#FFFFFF#000000##000000
##2F7FB71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7fb7;
/* rgb */ color: rgb(47, 127, 183);
/* oklch */ color: oklch(57.4% 0.115 243.2);
Tailwind
colors: {
  custom: {
    50: '#7aa3cd',
    500: '#2f7fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fb7;
$custom-light: #7aa3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fb7",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 183
  },
  "hsl": {
    "h": 204.706,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.1154,
    "h": 243.2
  },
  "luminance": 0.19202
}

Semantic roles & 50–950 ramp

primary
#2F7FB7
secondary
#C89A7A
accent
#8645E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F7FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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