#2F6AC8#2F6AC8

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

Color values

HEX#2F6AC8
RGBrgb(47, 106, 200)
HSLhsl(217, 62%, 48%)
HSVhsv(217, 77%, 78%)
CMYKcmyk(76.5%, 47%, 0%, 21.6%)
CIE-LABlab(45.74, 14.17, -54.41)
CIE-LCHlch(45.74, 56.23, 284.60°)
OKLaboklab(53.67% -0.029 -0.1562)
OKLCHoklch(53.67% 0.159 259.5)
XYZxyz(16.7479, 15.0806, 56.6606)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AC8 #C88D2F
analogous
#2FB6C8 #2F6AC8 #412FC8
triadic
#2F6AC8 #C82F6A #6AC82F
tetradic
#2F6AC8 #C82FB6 #C88D2F #2FC841
square
#2F6AC8 #C82FB6 #C88D2F #2FC841
split-complementary
#2F6AC8 #C8412F #B6C82F
monochromatic
#183565 #235096 #2F6AC8 #5C8CD9 #8DAFE4

Accessibility & contrast

On white

5.23
#2F6AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2F6AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AC8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AC8#FFFFFF#000000##FFFFFF
##2F6AC81.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3774CC
Deuteranopia (green-blind)
#0966C6
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6ac8;
/* rgb */ color: rgb(47, 106, 200);
/* oklch */ color: oklch(53.7% 0.159 259.5);
Tailwind
colors: {
  custom: {
    50: '#7d94d9',
    500: '#2f6ac8',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ac8;
$custom-light: #7d94d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ac8",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 200
  },
  "hsl": {
    "h": 216.863,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53672,
    "c": 0.15889,
    "h": 259.5
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#2F6AC8
secondary
#CFB284
accent
#A643E5
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2F6AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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