#2F6CBF#2F6CBF

#2F6CBF is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.5% C 0.145 H 257.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F6CBF
RGBrgb(47, 108, 191)
HSLhsl(215, 61%, 47%)
HSVhsv(215, 75%, 75%)
CMYKcmyk(75.4%, 43.5%, 0%, 25.1%)
CIE-LABlab(45.76, 9.51, -49.20)
CIE-LCHlch(45.76, 50.11, 280.94°)
OKLaboklab(53.5% -0.0324 -0.1408)
OKLCHoklch(53.5% 0.145 257.1)
XYZxyz(15.9354, 15.0892, 51.3528)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CBF #BF822F
analogous
#2FB4BF #2F6CBF #3A2FBF
triadic
#2F6CBF #BF2F6C #6CBF2F
tetradic
#2F6CBF #BF2FB4 #BF822F #2FBF3A
square
#2F6CBF #BF2FB4 #BF822F #2FBF3A
split-complementary
#2F6CBF #BF3A2F #B4BF2F
monochromatic
#17345D #23508E #2F6CBF #568CD5 #87ADE1

Accessibility & contrast

On white

5.23
#2F6CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2F6CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CBF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CBF#FFFFFF#000000##FFFFFF
##2F6CBF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4373C2
Deuteranopia (green-blind)
#2766BD
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6cbf;
/* rgb */ color: rgb(47, 108, 191);
/* oklch */ color: oklch(53.5% 0.145 257.1);
Tailwind
colors: {
  custom: {
    50: '#7b95d3',
    500: '#2f6cbf',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cbf;
$custom-light: #7b95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cbf",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 214.583,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53502,
    "c": 0.14452,
    "h": 257.1
  },
  "luminance": 0.15091
}

Semantic roles & 50–950 ramp

primary
#2F6CBF
secondary
#CBAB7F
accent
#A044E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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