#2F6BBC#2F6BBC

#2F6BBC is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.1% C 0.142 H 256.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2F6BBC
RGBrgb(47, 107, 188)
HSLhsl(214, 60%, 46%)
HSVhsv(214, 75%, 74%)
CMYKcmyk(75%, 43.1%, 0%, 26.3%)
CIE-LABlab(45.29, 9.02, -48.22)
CIE-LCHlch(45.29, 49.05, 280.60°)
OKLaboklab(53.08% -0.0321 -0.138)
OKLCHoklch(53.08% 0.142 256.9)
XYZxyz(15.5038, 14.7488, 49.5969)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BBC #BC802F
analogous
#2FB1BC #2F6BBC #392FBC
triadic
#2F6BBC #BC2F6B #6BBC2F
tetradic
#2F6BBC #BC2FB1 #BC802F #2FBC39
square
#2F6BBC #BC2FB1 #BC802F #2FBC39
split-complementary
#2F6BBC #BC392F #B1BC2F
monochromatic
#17335A #234F8B #2F6BBC #548BD4 #85ACE0

Accessibility & contrast

On white

5.32
#2F6BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2F6BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BBC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BBC#FFFFFF#000000##FFFFFF
##2F6BBC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4372BF
Deuteranopia (green-blind)
#2965BA
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6bbc;
/* rgb */ color: rgb(47, 107, 188);
/* oklch */ color: oklch(53.1% 0.142 256.9);
Tailwind
colors: {
  custom: {
    50: '#7b94d1',
    500: '#2f6bbc',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bbc;
$custom-light: #7b94d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bbc",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 188
  },
  "hsl": {
    "h": 214.468,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53081,
    "c": 0.14164,
    "h": 256.9
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#2F6BBC
secondary
#CAA97D
accent
#A045E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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