#2F6AC0#2F6AC0

#2F6AC0 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.1% C 0.148 H 258.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2F6AC0
RGBrgb(47, 106, 192)
HSLhsl(216, 61%, 47%)
HSVhsv(216, 76%, 75%)
CMYKcmyk(75.5%, 44.8%, 0%, 24.7%)
CIE-LABlab(45.24, 11.16, -50.60)
CIE-LCHlch(45.24, 51.82, 282.44°)
OKLaboklab(53.13% -0.0304 -0.145)
OKLCHoklch(53.13% 0.148 258.1)
XYZxyz(15.8373, 14.7164, 51.8648)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AC0 #C0852F
analogous
#2FB3C0 #2F6AC0 #3D2FC0
triadic
#2F6AC0 #C02F6A #6AC02F
tetradic
#2F6AC0 #C02FB3 #C0852F #2FC03D
square
#2F6AC0 #C02FB3 #C0852F #2FC03D
split-complementary
#2F6AC0 #C03D2F #B3C02F
monochromatic
#17345E #234F8F #2F6AC0 #568AD6 #88ACE2

Accessibility & contrast

On white

5.33
#2F6AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2F6AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AC0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AC0#FFFFFF#000000##FFFFFF
##2F6AC01.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C3
Deuteranopia (green-blind)
#2065BE
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6ac0;
/* rgb */ color: rgb(47, 106, 192);
/* oklch */ color: oklch(53.1% 0.148 258.1);
Tailwind
colors: {
  custom: {
    50: '#7c94d3',
    500: '#2f6ac0',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ac0;
$custom-light: #7c94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ac0",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 192
  },
  "hsl": {
    "h": 215.586,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.14816,
    "h": 258.1
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F6AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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