#2F6AD2#2F6AD2

#2F6AD2 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.4% C 0.172 H 260.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2F6AD2
RGBrgb(47, 106, 210)
HSLhsl(218, 64%, 50%)
HSVhsv(218, 78%, 82%)
CMYKcmyk(77.6%, 49.5%, 0%, 17.6%)
CIE-LABlab(46.40, 17.94, -59.09)
CIE-LCHlch(46.40, 61.76, 286.89°)
OKLaboklab(54.38% -0.0276 -0.17)
OKLCHoklch(54.38% 0.172 260.8)
XYZxyz(17.9550, 15.5635, 63.0180)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AD2 #D2972F
analogous
#2FBCD2 #2F6AD2 #452FD2
triadic
#2F6AD2 #D22F6A #6AD22F
tetradic
#2F6AD2 #D22FBC #D2972F #2FD245
square
#2F6AD2 #D22FBC #D2972F #2FD245
split-complementary
#2F6AD2 #D2452F #BCD22F
monochromatic
#18376F #2350A1 #2F6AD2 #618EDD #94B2E8

Accessibility & contrast

On white

5.11
#2F6AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2F6AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AD2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AD2#FFFFFF#000000##FFFFFF
##2F6AD21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D6
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f6ad2;
/* rgb */ color: rgb(47, 106, 210);
/* oklch */ color: oklch(54.4% 0.172 260.8);
Tailwind
colors: {
  custom: {
    50: '#7f93e0',
    500: '#2f6ad2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ad2;
$custom-light: #7f93e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ad2",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 210
  },
  "hsl": {
    "h": 218.282,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54381,
    "c": 0.1722,
    "h": 260.8
  },
  "luminance": 0.15566
}

Semantic roles & 50–950 ramp

primary
#2F6AD2
secondary
#D3B88A
accent
#AB40E7
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2F6AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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