#2F7DB1#2F7DB1

#2F7DB1 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.6% C 0.110 H 241.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F7DB1
RGBrgb(47, 125, 177)
HSLhsl(204, 58%, 44%)
HSVhsv(204, 73%, 69%)
CMYKcmyk(73.4%, 29.4%, 0%, 30.6%)
CIE-LABlab(50.03, -6.04, -34.33)
CIE-LCHlch(50.03, 34.86, 260.03°)
OKLaboklab(56.61% -0.0519 -0.0971)
OKLCHoklch(56.61% 0.11 241.9)
XYZxyz(16.4386, 18.4440, 44.2801)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DB1 #B1632F
analogous
#2FB1A4 #2F7DB1 #2F3CB1
triadic
#2F7DB1 #B12F7D #7DB12F
tetradic
#2F7DB1 #A42FB1 #B1632F #3CB12F
square
#2F7DB1 #A42FB1 #B1632F #3CB12F
split-complementary
#2F7DB1 #B12F3C #B1A42F
monochromatic
#153950 #225B81 #2F7DB1 #4D9CD0 #7EB7DD

Accessibility & contrast

On white

4.48
#2F7DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2F7DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DB1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DB1#FFFFFF#000000##000000
##2F7DB11.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB3
Deuteranopia (green-blind)
#5372B0
Tritanopia (blue-blind)
#008A8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7db1;
/* rgb */ color: rgb(47, 125, 177);
/* oklch */ color: oklch(56.6% 0.110 241.9);
Tailwind
colors: {
  custom: {
    50: '#79a2c8',
    500: '#2f7db1',
    950: '#000000',
  },
}
SCSS
$custom: #2f7db1;
$custom-light: #79a2c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7db1",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 177
  },
  "hsl": {
    "h": 204,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.11007,
    "h": 241.9
  },
  "luminance": 0.18446
}

Semantic roles & 50–950 ramp

primary
#2F7DB1
secondary
#C59676
accent
#8447E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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