#2F7BC9#2F7BC9

#2F7BC9 is a mid, vivid cyan. Relative luminance 0.190; OKLCH L 57.5% C 0.141 H 252.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F7BC9
RGBrgb(47, 123, 201)
HSLhsl(210, 62%, 49%)
HSVhsv(210, 77%, 79%)
CMYKcmyk(76.6%, 38.8%, 0%, 21.2%)
CIE-LABlab(50.67, 3.92, -47.10)
CIE-LCHlch(50.67, 47.27, 274.76°)
OKLaboklab(57.51% -0.0433 -0.1344)
OKLCHoklch(57.51% 0.141 252.2)
XYZxyz(18.7939, 18.9851, 57.9210)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BC9 #C97D2F
analogous
#2FC8C9 #2F7BC9 #302FC9
triadic
#2F7BC9 #C92F7B #7BC92F
tetradic
#2F7BC9 #C92FC8 #C97D2F #2FC930
square
#2F7BC9 #C92FC8 #C97D2F #2FC930
split-complementary
#2F7BC9 #C9302F #C8C92F
monochromatic
#183E66 #235D97 #2F7BC9 #5C9AD9 #8EB9E5

Accessibility & contrast

On white

4.38
#2F7BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2F7BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7BC9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BC9#FFFFFF#000000##000000
##2F7BC91.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CC
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f7bc9;
/* rgb */ color: rgb(47, 123, 201);
/* oklch */ color: oklch(57.5% 0.141 252.2);
Tailwind
colors: {
  custom: {
    50: '#7da0da',
    500: '#2f7bc9',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bc9;
$custom-light: #7da0da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bc9",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 201
  },
  "hsl": {
    "h": 210.39,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57512,
    "c": 0.14122,
    "h": 252.2
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#2F7BC9
secondary
#CFAA85
accent
#9543E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F7BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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