#2F7BBD#2F7BBD

#2F7BBD is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.8% C 0.126 H 248.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F7BBD
RGBrgb(47, 123, 189)
HSLhsl(208, 60%, 46%)
HSVhsv(208, 75%, 74%)
CMYKcmyk(75.1%, 34.9%, 0%, 25.9%)
CIE-LABlab(50.03, -0.50, -41.25)
CIE-LCHlch(50.03, 41.25, 269.31°)
OKLaboklab(56.8% -0.0464 -0.1173)
OKLCHoklch(56.8% 0.126 248.4)
XYZxyz(17.4371, 18.4424, 50.7750)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BBD #BD712F
analogous
#2FBDB8 #2F7BBD #2F34BD
triadic
#2F7BBD #BD2F7B #7BBD2F
tetradic
#2F7BBD #B82FBD #BD712F #34BD2F
square
#2F7BBD #B82FBD #BD712F #34BD2F
split-complementary
#2F7BBD #BD2F34 #BDB82F
monochromatic
#173B5B #235B8C #2F7BBD #5599D5 #86B6E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7BBD#FFFFFF#000000##000000
##2F7BBD1.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)
#5D7EC0
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#008B93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7bbd;
/* rgb */ color: rgb(47, 123, 189);
/* oklch */ color: oklch(56.8% 0.126 248.4);
Tailwind
colors: {
  custom: {
    50: '#7ba0d1',
    500: '#2f7bbd',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bbd;
$custom-light: #7ba0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bbd",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 207.887,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.568,
    "c": 0.12612,
    "h": 248.4
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#2F7BBD
secondary
#CAA17E
accent
#8E44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F7BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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