#2F6DD2#2F6DD2

#2F6DD2 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.0% C 0.169 H 259.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F6DD2
RGBrgb(47, 109, 210)
HSLhsl(217, 64%, 50%)
HSVhsv(217, 78%, 82%)
CMYKcmyk(77.6%, 48.1%, 0%, 17.6%)
CIE-LABlab(47.23, 16.03, -57.75)
CIE-LCHlch(47.23, 59.94, 285.51°)
OKLaboklab(55.02% -0.0299 -0.166)
OKLCHoklch(55.02% 0.169 259.8)
XYZxyz(18.2696, 16.1926, 63.1229)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DD2 #D2942F
analogous
#2FBED2 #2F6DD2 #422FD2
triadic
#2F6DD2 #D22F6D #6DD22F
tetradic
#2F6DD2 #D22FBE #D2942F #2FD242
square
#2F6DD2 #D22FBE #D2942F #2FD242
split-complementary
#2F6DD2 #D2422F #BED22F
monochromatic
#18396F #2353A1 #2F6DD2 #6190DD #94B4E8

Accessibility & contrast

On white

4.95
#2F6DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2F6DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DD2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DD2#FFFFFF#000000##FFFFFF
##2F6DD21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3378D6
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f6dd2;
/* rgb */ color: rgb(47, 109, 210);
/* oklch */ color: oklch(55.0% 0.169 259.8);
Tailwind
colors: {
  custom: {
    50: '#7f96e0',
    500: '#2f6dd2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6dd2;
$custom-light: #7f96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6dd2",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 210
  },
  "hsl": {
    "h": 217.178,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55017,
    "c": 0.16866,
    "h": 259.8
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

primary
#2F6DD2
secondary
#D3B78A
accent
#A840E7
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2F6DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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