#2F6FD1#2F6FD1

#2F6FD1 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.4% C 0.165 H 259.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2F6FD1
RGBrgb(47, 111, 209)
HSLhsl(216, 64%, 50%)
HSVhsv(216, 78%, 82%)
CMYKcmyk(77.5%, 46.9%, 0%, 18%)
CIE-LABlab(47.72, 14.39, -56.39)
CIE-LCHlch(47.72, 58.20, 284.31°)
OKLaboklab(55.38% -0.0316 -0.1619)
OKLCHoklch(55.38% 0.165 259)
XYZxyz(18.3611, 16.5745, 62.5407)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FD1 #D1912F
analogous
#2FC0D1 #2F6FD1 #402FD1
triadic
#2F6FD1 #D12F6F #6FD12F
tetradic
#2F6FD1 #D12FC0 #D1912F #2FD140
square
#2F6FD1 #D12FC0 #D1912F #2FD140
split-complementary
#2F6FD1 #D1402F #C0D12F
monochromatic
#183A6D #2354A0 #2F6FD1 #6192DC #93B4E7

Accessibility & contrast

On white

4.87
#2F6FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2F6FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FD1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FD1#FFFFFF#000000##FFFFFF
##2F6FD11.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3979D5
Deuteranopia (green-blind)
#066ACF
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f6fd1;
/* rgb */ color: rgb(47, 111, 209);
/* oklch */ color: oklch(55.4% 0.165 259.0);
Tailwind
colors: {
  custom: {
    50: '#7f97e0',
    500: '#2f6fd1',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fd1;
$custom-light: #7f97e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fd1",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 209
  },
  "hsl": {
    "h": 216.296,
    "s": 63.78,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55376,
    "c": 0.16498,
    "h": 259
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#2F6FD1
secondary
#D2B58A
accent
#A541E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2F6FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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