#2F6BBE#2F6BBE

#2F6BBE is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.2% C 0.144 H 257.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2F6BBE
RGBrgb(47, 107, 190)
HSLhsl(215, 60%, 46%)
HSVhsv(215, 75%, 75%)
CMYKcmyk(75.3%, 43.7%, 0%, 25.5%)
CIE-LABlab(45.41, 9.77, -49.18)
CIE-LCHlch(45.41, 50.14, 281.24°)
OKLaboklab(53.21% -0.0317 -0.1408)
OKLCHoklch(53.21% 0.144 257.3)
XYZxyz(15.7208, 14.8357, 50.7402)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BBE #BE822F
analogous
#2FB3BE #2F6BBE #3A2FBE
triadic
#2F6BBE #BE2F6B #6BBE2F
tetradic
#2F6BBE #BE2FB3 #BE822F #2FBE3A
square
#2F6BBE #BE2FB3 #BE822F #2FBE3A
split-complementary
#2F6BBE #BE3A2F #B3BE2F
monochromatic
#17345C #234F8D #2F6BBE #558BD5 #86ACE1

Accessibility & contrast

On white

5.29
#2F6BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2F6BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BBE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BBE#FFFFFF#000000##FFFFFF
##2F6BBE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4173C1
Deuteranopia (green-blind)
#2665BC
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6bbe;
/* rgb */ color: rgb(47, 107, 190);
/* oklch */ color: oklch(53.2% 0.144 257.3);
Tailwind
colors: {
  custom: {
    50: '#7b94d2',
    500: '#2f6bbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bbe;
$custom-light: #7b94d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bbe",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 190
  },
  "hsl": {
    "h": 214.825,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53213,
    "c": 0.14432,
    "h": 257.3
  },
  "luminance": 0.14837
}

Semantic roles & 50–950 ramp

primary
#2F6BBE
secondary
#CBAB7E
accent
#A144E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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