#2F6DBF#2F6DBF

#2F6DBF is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.7% C 0.143 H 256.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2F6DBF
RGBrgb(47, 109, 191)
HSLhsl(214, 61%, 47%)
HSVhsv(214, 75%, 75%)
CMYKcmyk(75.4%, 42.9%, 0%, 25.1%)
CIE-LABlab(46.04, 8.88, -48.74)
CIE-LCHlch(46.04, 49.55, 280.33°)
OKLaboklab(53.73% -0.0332 -0.1395)
OKLCHoklch(53.73% 0.143 256.6)
XYZxyz(16.0414, 15.3014, 51.3881)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DBF #BF812F
analogous
#2FB5BF #2F6DBF #392FBF
triadic
#2F6DBF #BF2F6D #6DBF2F
tetradic
#2F6DBF #BF2FB5 #BF812F #2FBF39
square
#2F6DBF #BF2FB5 #BF812F #2FBF39
split-complementary
#2F6DBF #BF392F #B5BF2F
monochromatic
#17355D #23518E #2F6DBF #568DD5 #87AEE1

Accessibility & contrast

On white

5.17
#2F6DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2F6DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DBF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DBF#FFFFFF#000000##FFFFFF
##2F6DBF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#2A67BD
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6dbf;
/* rgb */ color: rgb(47, 109, 191);
/* oklch */ color: oklch(53.7% 0.143 256.6);
Tailwind
colors: {
  custom: {
    50: '#7b96d3',
    500: '#2f6dbf',
    950: '#000000',
  },
}
SCSS
$custom: #2f6dbf;
$custom-light: #7b96d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6dbf",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 191
  },
  "hsl": {
    "h": 214.167,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.14338,
    "h": 256.6
  },
  "luminance": 0.15303
}

Semantic roles & 50–950 ramp

primary
#2F6DBF
secondary
#CBAA7F
accent
#9F44E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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