#2F8BBE#2F8BBE

#2F8BBE is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.6% C 0.114 H 237.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2F8BBE
RGBrgb(47, 139, 190)
HSLhsl(201, 60%, 46%)
HSVhsv(201, 75%, 75%)
CMYKcmyk(75.3%, 26.8%, 0%, 25.5%)
CIE-LABlab(54.85, -9.51, -34.24)
CIE-LCHlch(54.85, 35.54, 254.48°)
OKLaboklab(60.63% -0.0613 -0.0967)
OKLCHoklch(60.63% 0.114 237.6)
XYZxyz(19.6955, 22.7850, 52.0651)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BBE #BE622F
analogous
#2FBEAA #2F8BBE #2F43BE
triadic
#2F8BBE #BE2F8B #8BBE2F
tetradic
#2F8BBE #AA2FBE #BE622F #43BE2F
square
#2F8BBE #AA2FBE #BE622F #43BE2F
split-complementary
#2F8BBE #BE2F43 #BEAA2F
monochromatic
#17435C #23678D #2F8BBE #55A7D5 #86C1E1

Accessibility & contrast

On white

3.78
#2F8BBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#2F8BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BBE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BBE#FFFFFF#000000##000000
##2F8BBE1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BC0
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#00989D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8bbe;
/* rgb */ color: rgb(47, 139, 190);
/* oklch */ color: oklch(60.6% 0.114 237.6);
Tailwind
colors: {
  custom: {
    50: '#7cacd2',
    500: '#2f8bbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bbe;
$custom-light: #7cacd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bbe",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 190
  },
  "hsl": {
    "h": 201.399,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.60627,
    "c": 0.11444,
    "h": 237.6
  },
  "luminance": 0.22787
}

Semantic roles & 50–950 ramp

primary
#2F8BBE
secondary
#CB997E
accent
#7D44E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2F8BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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