#2F7CBE#2F7CBE

#2F7CBE is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.1% C 0.126 H 248.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2F7CBE
RGBrgb(47, 124, 190)
HSLhsl(208, 60%, 46%)
HSVhsv(208, 75%, 75%)
CMYKcmyk(75.3%, 34.7%, 0%, 25.5%)
CIE-LABlab(50.38, -0.73, -41.28)
CIE-LCHlch(50.38, 41.28, 268.98°)
OKLaboklab(57.09% -0.047 -0.1173)
OKLCHoklch(57.09% 0.126 248.1)
XYZxyz(17.6707, 18.7353, 51.3902)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CBE #BE712F
analogous
#2FBEB9 #2F7CBE #2F35BE
triadic
#2F7CBE #BE2F7C #7CBE2F
tetradic
#2F7CBE #B92FBE #BE712F #35BE2F
square
#2F7CBE #B92FBE #BE712F #35BE2F
split-complementary
#2F7CBE #BE2F35 #BEB92F
monochromatic
#173C5C #235C8D #2F7CBE #559AD5 #86B7E1

Accessibility & contrast

On white

4.42
#2F7CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2F7CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CBE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CBE#FFFFFF#000000##000000
##2F7CBE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC1
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#008C94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7cbe;
/* rgb */ color: rgb(47, 124, 190);
/* oklch */ color: oklch(57.1% 0.126 248.1);
Tailwind
colors: {
  custom: {
    50: '#7ba1d2',
    500: '#2f7cbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cbe;
$custom-light: #7ba1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cbe",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 190
  },
  "hsl": {
    "h": 207.692,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.12641,
    "h": 248.1
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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