#2F6EC3#2F6EC3

#2F6EC3 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.2% C 0.148 H 257.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F6EC3
RGBrgb(47, 110, 195)
HSLhsl(214, 61%, 47%)
HSVhsv(214, 76%, 76%)
CMYKcmyk(75.9%, 43.6%, 0%, 23.5%)
CIE-LABlab(46.57, 9.75, -50.21)
CIE-LCHlch(46.57, 51.15, 281.00°)
OKLaboklab(54.21% -0.0333 -0.1438)
OKLCHoklch(54.21% 0.148 257)
XYZxyz(16.5949, 15.6944, 53.7739)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EC3 #C3842F
analogous
#2FB8C3 #2F6EC3 #3A2FC3
triadic
#2F6EC3 #C32F6E #6EC32F
tetradic
#2F6EC3 #C32FB8 #C3842F #2FC33A
square
#2F6EC3 #C32FB8 #C3842F #2FC33A
split-complementary
#2F6EC3 #C33A2F #B8C32F
monochromatic
#173660 #235292 #2F6EC3 #588ED7 #8AB0E3

Accessibility & contrast

On white

5.07
#2F6EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2F6EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EC3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EC3#FFFFFF#000000##FFFFFF
##2F6EC31.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4376C6
Deuteranopia (green-blind)
#2768C1
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f6ec3;
/* rgb */ color: rgb(47, 110, 195);
/* oklch */ color: oklch(54.2% 0.148 257.0);
Tailwind
colors: {
  custom: {
    50: '#7c97d6',
    500: '#2f6ec3',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ec3;
$custom-light: #7c97d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ec3",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 195
  },
  "hsl": {
    "h": 214.459,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54211,
    "c": 0.14758,
    "h": 257
  },
  "luminance": 0.15696
}

Semantic roles & 50–950 ramp

primary
#2F6EC3
secondary
#CDAD81
accent
#A044E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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