#2F6CC8#2F6CC8

#2F6CC8 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.1% C 0.157 H 258.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2F6CC8
RGBrgb(47, 108, 200)
HSLhsl(216, 62%, 48%)
HSVhsv(216, 77%, 78%)
CMYKcmyk(76.5%, 46%, 0%, 21.6%)
CIE-LABlab(46.31, 12.90, -53.51)
CIE-LCHlch(46.31, 55.04, 283.56°)
OKLaboklab(54.11% -0.0307 -0.1535)
OKLCHoklch(54.11% 0.157 258.7)
XYZxyz(16.9564, 15.4976, 56.7301)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CC8 #C88B2F
analogous
#2FB8C8 #2F6CC8 #3E2FC8
triadic
#2F6CC8 #C82F6C #6CC82F
tetradic
#2F6CC8 #C82FB8 #C88B2F #2FC83E
square
#2F6CC8 #C82FB8 #C88B2F #2FC83E
split-complementary
#2F6CC8 #C83E2F #B8C82F
monochromatic
#183665 #235196 #2F6CC8 #5C8DD9 #8DB0E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6CC8#FFFFFF#000000##FFFFFF
##2F6CC81.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)
#3B75CB
Deuteranopia (green-blind)
#1667C6
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f6cc8;
/* rgb */ color: rgb(47, 108, 200);
/* oklch */ color: oklch(54.1% 0.157 258.7);
Tailwind
colors: {
  custom: {
    50: '#7d95d9',
    500: '#2f6cc8',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cc8;
$custom-light: #7d95d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cc8",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 200
  },
  "hsl": {
    "h": 216.078,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54107,
    "c": 0.15654,
    "h": 258.7
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#2F6CC8
secondary
#CFB184
accent
#A443E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2F6CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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