#2F6CC2#2F6CC2

#2F6CC2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.7% C 0.149 H 257.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2F6CC2
RGBrgb(47, 108, 194)
HSLhsl(215, 61%, 47%)
HSVhsv(215, 76%, 76%)
CMYKcmyk(75.8%, 44.3%, 0%, 23.9%)
CIE-LABlab(45.94, 10.64, -50.65)
CIE-LCHlch(45.94, 51.75, 281.87°)
OKLaboklab(53.7% -0.0318 -0.1451)
OKLCHoklch(53.7% 0.149 257.6)
XYZxyz(16.2689, 15.2226, 53.1093)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CC2 #C2852F
analogous
#2FB6C2 #2F6CC2 #3B2FC2
triadic
#2F6CC2 #C22F6C #6CC22F
tetradic
#2F6CC2 #C22FB6 #C2852F #2FC23B
square
#2F6CC2 #C22FB6 #C2852F #2FC23B
split-complementary
#2F6CC2 #C23B2F #B6C22F
monochromatic
#17355F #235191 #2F6CC2 #588CD6 #89AEE2

Accessibility & contrast

On white

5.19
#2F6CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2F6CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CC2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CC2#FFFFFF#000000##FFFFFF
##2F6CC21.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4074C5
Deuteranopia (green-blind)
#2367C0
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6cc2;
/* rgb */ color: rgb(47, 108, 194);
/* oklch */ color: oklch(53.7% 0.149 257.6);
Tailwind
colors: {
  custom: {
    50: '#7c95d5',
    500: '#2f6cc2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cc2;
$custom-light: #7c95d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cc2",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 215.102,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53701,
    "c": 0.14853,
    "h": 257.6
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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