#2F6CBC#2F6CBC

#2F6CBC is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.3% C 0.141 H 256.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F6CBC
RGBrgb(47, 108, 188)
HSLhsl(214, 60%, 46%)
HSVhsv(214, 75%, 74%)
CMYKcmyk(75%, 42.6%, 0%, 26.3%)
CIE-LABlab(45.58, 8.39, -47.75)
CIE-LCHlch(45.58, 48.48, 279.96°)
OKLaboklab(53.31% -0.033 -0.1366)
OKLCHoklch(53.31% 0.141 256.4)
XYZxyz(15.6086, 14.9585, 49.6319)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CBC #BC7F2F
analogous
#2FB2BC #2F6CBC #392FBC
triadic
#2F6CBC #BC2F6C #6CBC2F
tetradic
#2F6CBC #BC2FB2 #BC7F2F #2FBC39
square
#2F6CBC #BC2FB2 #BC7F2F #2FBC39
split-complementary
#2F6CBC #BC392F #B2BC2F
monochromatic
#17345A #23508B #2F6CBC #548BD4 #85ADE0

Accessibility & contrast

On white

5.26
#2F6CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2F6CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CBC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CBC#FFFFFF#000000##FFFFFF
##2F6CBC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6cbc;
/* rgb */ color: rgb(47, 108, 188);
/* oklch */ color: oklch(53.3% 0.141 256.4);
Tailwind
colors: {
  custom: {
    50: '#7b95d1',
    500: '#2f6cbc',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cbc;
$custom-light: #7b95d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cbc",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 188
  },
  "hsl": {
    "h": 214.043,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53306,
    "c": 0.14052,
    "h": 256.4
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#2F6CBC
secondary
#CAA97D
accent
#9F45E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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