#2F6ABF#2F6ABF

#2F6ABF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.1% C 0.147 H 258.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2F6ABF
RGBrgb(47, 106, 191)
HSLhsl(215, 61%, 47%)
HSVhsv(215, 75%, 75%)
CMYKcmyk(75.4%, 44.5%, 0%, 25.1%)
CIE-LABlab(45.18, 10.78, -50.12)
CIE-LCHlch(45.18, 51.27, 282.14°)
OKLaboklab(53.06% -0.0306 -0.1436)
OKLCHoklch(53.06% 0.147 258)
XYZxyz(15.7269, 14.6722, 51.2833)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6ABF #BF842F
analogous
#2FB2BF #2F6ABF #3C2FBF
triadic
#2F6ABF #BF2F6A #6ABF2F
tetradic
#2F6ABF #BF2FB2 #BF842F #2FBF3C
square
#2F6ABF #BF2FB2 #BF842F #2FBF3C
split-complementary
#2F6ABF #BF3C2F #B2BF2F
monochromatic
#17335D #234F8E #2F6ABF #568AD5 #87ACE1

Accessibility & contrast

On white

5.34
#2F6ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2F6ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6ABF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6ABF#FFFFFF#000000##FFFFFF
##2F6ABF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#2265BD
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6abf;
/* rgb */ color: rgb(47, 106, 191);
/* oklch */ color: oklch(53.1% 0.147 258.0);
Tailwind
colors: {
  custom: {
    50: '#7b94d3',
    500: '#2f6abf',
    950: '#000000',
  },
}
SCSS
$custom: #2f6abf;
$custom-light: #7b94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6abf",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 191
  },
  "hsl": {
    "h": 215.417,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53058,
    "c": 0.14682,
    "h": 258
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#2F6ABF
secondary
#CBAC7F
accent
#A244E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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