#2F6CC3#2F6CC3

#2F6CC3 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.8% C 0.150 H 257.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2F6CC3
RGBrgb(47, 108, 195)
HSLhsl(215, 61%, 47%)
HSVhsv(215, 76%, 76%)
CMYKcmyk(75.9%, 44.6%, 0%, 23.5%)
CIE-LABlab(46.00, 11.02, -51.12)
CIE-LCHlch(46.00, 52.30, 282.16°)
OKLaboklab(53.77% -0.0316 -0.1465)
OKLCHoklch(53.77% 0.15 257.8)
XYZxyz(16.3816, 15.2677, 53.7028)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CC3 #C3862F
analogous
#2FB6C3 #2F6CC3 #3C2FC3
triadic
#2F6CC3 #C32F6C #6CC32F
tetradic
#2F6CC3 #C32FB6 #C3862F #2FC33C
square
#2F6CC3 #C32FB6 #C3862F #2FC33C
split-complementary
#2F6CC3 #C33C2F #B6C32F
monochromatic
#173560 #235192 #2F6CC3 #588CD7 #8AAEE3

Accessibility & contrast

On white

5.18
#2F6CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2F6CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CC3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CC3#FFFFFF#000000##FFFFFF
##2F6CC31.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C6
Deuteranopia (green-blind)
#2167C1
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6cc3;
/* rgb */ color: rgb(47, 108, 195);
/* oklch */ color: oklch(53.8% 0.150 257.8);
Tailwind
colors: {
  custom: {
    50: '#7c95d6',
    500: '#2f6cc3',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cc3;
$custom-light: #7c95d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cc3",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 195
  },
  "hsl": {
    "h": 215.27,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53768,
    "c": 0.14987,
    "h": 257.8
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#2F6CC3
secondary
#CDAE81
accent
#A244E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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