#2F7DB3#2F7DB3

#2F7DB3 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.7% C 0.112 H 242.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F7DB3
RGBrgb(47, 125, 179)
HSLhsl(205, 58%, 44%)
HSVhsv(205, 74%, 70%)
CMYKcmyk(73.7%, 30.2%, 0%, 29.8%)
CIE-LABlab(50.13, -5.32, -35.34)
CIE-LCHlch(50.13, 35.73, 261.44°)
OKLaboklab(56.71% -0.0513 -0.1)
OKLCHoklch(56.71% 0.112 242.9)
XYZxyz(16.6394, 18.5243, 45.3377)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DB3 #B3652F
analogous
#2FB3A7 #2F7DB3 #2F3BB3
triadic
#2F7DB3 #B32F7D #7DB32F
tetradic
#2F7DB3 #A72FB3 #B3652F #3BB32F
square
#2F7DB3 #A72FB3 #B3652F #3BB32F
split-complementary
#2F7DB3 #B32F3B #B3A72F
monochromatic
#163952 #225B83 #2F7DB3 #4F9BD1 #7FB7DD

Accessibility & contrast

On white

4.46
#2F7DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F7DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DB3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DB3#FFFFFF#000000##000000
##2F7DB31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB5
Deuteranopia (green-blind)
#5272B2
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7db3;
/* rgb */ color: rgb(47, 125, 179);
/* oklch */ color: oklch(56.7% 0.112 242.9);
Tailwind
colors: {
  custom: {
    50: '#79a2ca',
    500: '#2f7db3',
    950: '#000000',
  },
}
SCSS
$custom: #2f7db3;
$custom-light: #79a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7db3",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 179
  },
  "hsl": {
    "h": 204.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.11237,
    "h": 242.9
  },
  "luminance": 0.18526
}

Semantic roles & 50–950 ramp

primary
#2F7DB3
secondary
#C69878
accent
#8646E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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