#2F7BB2#2F7BB2

#2F7BB2 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.2% C 0.113 H 243.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F7BB2
RGBrgb(47, 123, 178)
HSLhsl(205, 58%, 44%)
HSVhsv(205, 74%, 70%)
CMYKcmyk(73.6%, 30.9%, 0%, 30.2%)
CIE-LABlab(49.48, -4.50, -35.78)
CIE-LCHlch(49.48, 36.06, 262.84°)
OKLaboklab(56.18% -0.0496 -0.1013)
OKLCHoklch(56.18% 0.113 243.9)
XYZxyz(16.2880, 17.9828, 44.7234)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BB2 #B2662F
analogous
#2FB2A8 #2F7BB2 #2F3AB2
triadic
#2F7BB2 #B22F7B #7BB22F
tetradic
#2F7BB2 #A82FB2 #B2662F #3AB22F
square
#2F7BB2 #A82FB2 #B2662F #3AB22F
split-complementary
#2F7BB2 #B22F3A #B2A82F
monochromatic
#153851 #225A82 #2F7BB2 #4E9AD0 #7EB5DD

Accessibility & contrast

On white

4.57
#2F7BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2F7BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7BB2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BB2#FFFFFF#000000##000000
##2F7BB21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#627CB4
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7bb2;
/* rgb */ color: rgb(47, 123, 178);
/* oklch */ color: oklch(56.2% 0.113 243.9);
Tailwind
colors: {
  custom: {
    50: '#79a1c9',
    500: '#2f7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bb2;
$custom-light: #79a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bb2",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 205.191,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56183,
    "c": 0.11281,
    "h": 243.9
  },
  "luminance": 0.17985
}

Semantic roles & 50–950 ramp

primary
#2F7BB2
secondary
#C69877
accent
#8746E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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