#2F6EC6#2F6EC6

#2F6EC6 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.4% C 0.152 H 257.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F6EC6
RGBrgb(47, 110, 198)
HSLhsl(215, 62%, 48%)
HSVhsv(215, 76%, 78%)
CMYKcmyk(76.3%, 44.4%, 0%, 22.4%)
CIE-LABlab(46.75, 10.88, -51.64)
CIE-LCHlch(46.75, 52.78, 281.90°)
OKLaboklab(54.41% -0.0327 -0.148)
OKLCHoklch(54.41% 0.152 257.5)
XYZxyz(16.9375, 15.8315, 55.5782)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EC6 #C6872F
analogous
#2FB9C6 #2F6EC6 #3B2FC6
triadic
#2F6EC6 #C62F6E #6EC62F
tetradic
#2F6EC6 #C62FB9 #C6872F #2FC63B
square
#2F6EC6 #C62FB9 #C6872F #2FC63B
split-complementary
#2F6EC6 #C63B2F #B9C62F
monochromatic
#183763 #235395 #2F6EC6 #5A8FD8 #8CB0E4

Accessibility & contrast

On white

5.04
#2F6EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2F6EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EC6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EC6#FFFFFF#000000##FFFFFF
##2F6EC61.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4176C9
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f6ec6;
/* rgb */ color: rgb(47, 110, 198);
/* oklch */ color: oklch(54.4% 0.152 257.5);
Tailwind
colors: {
  custom: {
    50: '#7d97d8',
    500: '#2f6ec6',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ec6;
$custom-light: #7d97d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ec6",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 198
  },
  "hsl": {
    "h": 214.967,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.15156,
    "h": 257.5
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#2F6EC6
secondary
#CEAF83
accent
#A143E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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