#2F6EBF#2F6EBF

#2F6EBF is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.9% C 0.142 H 256.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2F6EBF
RGBrgb(47, 110, 191)
HSLhsl(214, 61%, 47%)
HSVhsv(214, 75%, 75%)
CMYKcmyk(75.4%, 42.4%, 0%, 25.1%)
CIE-LABlab(46.33, 8.25, -48.28)
CIE-LCHlch(46.33, 48.98, 279.70°)
OKLaboklab(53.95% -0.0341 -0.1381)
OKLCHoklch(53.95% 0.142 256.1)
XYZxyz(16.1487, 15.5159, 51.4239)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EBF #BF802F
analogous
#2FB6BF #2F6EBF #382FBF
triadic
#2F6EBF #BF2F6E #6EBF2F
tetradic
#2F6EBF #BF2FB6 #BF802F #2FBF38
square
#2F6EBF #BF2FB6 #BF802F #2FBF38
split-complementary
#2F6EBF #BF382F #B6BF2F
monochromatic
#17355D #23528E #2F6EBF #568ED5 #87AFE1

Accessibility & contrast

On white

5.12
#2F6EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2F6EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EBF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EBF#FFFFFF#000000##FFFFFF
##2F6EBF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#2D68BD
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f6ebf;
/* rgb */ color: rgb(47, 110, 191);
/* oklch */ color: oklch(53.9% 0.142 256.1);
Tailwind
colors: {
  custom: {
    50: '#7b97d3',
    500: '#2f6ebf',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ebf;
$custom-light: #7b97d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ebf",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 191
  },
  "hsl": {
    "h": 213.75,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53949,
    "c": 0.14225,
    "h": 256.1
  },
  "luminance": 0.15518
}

Semantic roles & 50–950 ramp

primary
#2F6EBF
secondary
#CBAA7F
accent
#9E44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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