#2F95BB#2F95BB

#2F95BB is a light, moderate cyan. Relative luminance 0.257; OKLCH L 62.9% C 0.107 H 227.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2F95BB
RGBrgb(47, 149, 187)
HSLhsl(196, 60%, 46%)
HSVhsv(196, 75%, 73%)
CMYKcmyk(74.9%, 20.3%, 0%, 26.7%)
CIE-LABlab(57.74, -16.11, -28.05)
CIE-LCHlch(57.74, 32.34, 240.13°)
OKLaboklab(62.89% -0.072 -0.0787)
OKLCHoklch(62.89% 0.107 227.5)
XYZxyz(20.8857, 25.6846, 50.8609)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F95BB #BB552F
analogous
#2FBB9B #2F95BB #2F4FBB
triadic
#2F95BB #BB2F95 #95BB2F
tetradic
#2F95BB #9B2FBB #BB552F #4FBB2F
square
#2F95BB #9B2FBB #BB552F #4FBB2F
split-complementary
#2F95BB #BB2F4F #BB9B2F
monochromatic
#164759 #236E8A #2F95BB #53B1D4 #84C7E0

Accessibility & contrast

On white

3.42
#2F95BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#2F95BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F95BB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F95BB#FFFFFF#000000##000000
##2F95BB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8192BD
Deuteranopia (green-blind)
#6E85BB
Tritanopia (blue-blind)
#00A0A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2f95bb;
/* rgb */ color: rgb(47, 149, 187);
/* oklch */ color: oklch(62.9% 0.107 227.5);
Tailwind
colors: {
  custom: {
    50: '#7cb4cf',
    500: '#2f95bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f95bb;
$custom-light: #7cb4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f95bb",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 187
  },
  "hsl": {
    "h": 196.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.62885,
    "c": 0.10671,
    "h": 227.5
  },
  "luminance": 0.25687
}

Semantic roles & 50–950 ramp

primary
#2F95BB
secondary
#C9917C
accent
#7045E3
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1114
muted
#7C8082

Preview Lab

Preview with #2F95BB

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

Preview Lab → · Contrast checker → · Palette generator →

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