#2F6BC0#2F6BC0

#2F6BC0 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.3% C 0.147 H 257.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2F6BC0
RGBrgb(47, 107, 192)
HSLhsl(215, 61%, 47%)
HSVhsv(215, 76%, 75%)
CMYKcmyk(75.5%, 44.3%, 0%, 24.7%)
CIE-LABlab(45.53, 10.52, -50.14)
CIE-LCHlch(45.53, 51.24, 281.85°)
OKLaboklab(53.35% -0.0313 -0.1436)
OKLCHoklch(53.35% 0.147 257.7)
XYZxyz(15.9409, 14.9237, 51.8994)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6BC0 #C0842F
analogous
#2FB4C0 #2F6BC0 #3B2FC0
triadic
#2F6BC0 #C02F6B #6BC02F
tetradic
#2F6BC0 #C02FB4 #C0842F #2FC03B
square
#2F6BC0 #C02FB4 #C0842F #2FC03B
split-complementary
#2F6BC0 #C03B2F #B4C02F
monochromatic
#17345E #23508F #2F6BC0 #568BD6 #88ADE2

Accessibility & contrast

On white

5.27
#2F6BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2F6BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6BC0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6BC0#FFFFFF#000000##FFFFFF
##2F6BC01.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4073C3
Deuteranopia (green-blind)
#2366BE
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6bc0;
/* rgb */ color: rgb(47, 107, 192);
/* oklch */ color: oklch(53.3% 0.147 257.7);
Tailwind
colors: {
  custom: {
    50: '#7c94d3',
    500: '#2f6bc0',
    950: '#000000',
  },
}
SCSS
$custom: #2f6bc0;
$custom-light: #7c94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6bc0",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 192
  },
  "hsl": {
    "h": 215.172,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.14701,
    "h": 257.7
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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