#2F6AC9#2F6AC9

#2F6AC9 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.7% C 0.160 H 259.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2F6AC9
RGBrgb(47, 106, 201)
HSLhsl(217, 62%, 49%)
HSVhsv(217, 77%, 79%)
CMYKcmyk(76.6%, 47.3%, 0%, 21.2%)
CIE-LABlab(45.81, 14.55, -54.88)
CIE-LCHlch(45.81, 56.78, 284.85°)
OKLaboklab(53.74% -0.0289 -0.1576)
OKLCHoklch(53.74% 0.16 259.6)
XYZxyz(16.8651, 15.1275, 57.2781)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AC9 #C98E2F
analogous
#2FB7C9 #2F6AC9 #412FC9
triadic
#2F6AC9 #C92F6A #6AC92F
tetradic
#2F6AC9 #C92FB7 #C98E2F #2FC941
square
#2F6AC9 #C92FB7 #C98E2F #2FC941
split-complementary
#2F6AC9 #C9412F #B7C92F
monochromatic
#183666 #235097 #2F6AC9 #5C8CD9 #8EAFE5

Accessibility & contrast

On white

5.22
#2F6AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2F6AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AC9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AC9#FFFFFF#000000##FFFFFF
##2F6AC91.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3674CD
Deuteranopia (green-blind)
#0466C7
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6ac9;
/* rgb */ color: rgb(47, 106, 201);
/* oklch */ color: oklch(53.7% 0.160 259.6);
Tailwind
colors: {
  custom: {
    50: '#7d94da',
    500: '#2f6ac9',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ac9;
$custom-light: #7d94da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ac9",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 201
  },
  "hsl": {
    "h": 217.013,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.16023,
    "h": 259.6
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#2F6AC9
secondary
#CFB385
accent
#A743E5
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2F6AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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