#2F6ABD#2F6ABD

#2F6ABD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 52.9% C 0.144 H 257.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2F6ABD
RGBrgb(47, 106, 189)
HSLhsl(215, 60%, 46%)
HSVhsv(215, 75%, 74%)
CMYKcmyk(75.1%, 43.9%, 0%, 25.9%)
CIE-LABlab(45.06, 10.03, -49.16)
CIE-LCHlch(45.06, 50.17, 281.53°)
OKLaboklab(52.92% -0.031 -0.1408)
OKLCHoklch(52.92% 0.144 257.6)
XYZxyz(15.5083, 14.5848, 50.1321)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6ABD #BD822F
analogous
#2FB1BD #2F6ABD #3B2FBD
triadic
#2F6ABD #BD2F6A #6ABD2F
tetradic
#2F6ABD #BD2FB1 #BD822F #2FBD3B
square
#2F6ABD #BD2FB1 #BD822F #2FBD3B
split-complementary
#2F6ABD #BD3B2F #B1BD2F
monochromatic
#17335B #234F8C #2F6ABD #558AD5 #86ABE1

Accessibility & contrast

On white

5.36
#2F6ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2F6ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6ABD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6ABD#FFFFFF#000000##FFFFFF
##2F6ABD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4072C0
Deuteranopia (green-blind)
#2565BB
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6abd;
/* rgb */ color: rgb(47, 106, 189);
/* oklch */ color: oklch(52.9% 0.144 257.6);
Tailwind
colors: {
  custom: {
    50: '#7b94d1',
    500: '#2f6abd',
    950: '#000000',
  },
}
SCSS
$custom: #2f6abd;
$custom-light: #7b94d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6abd",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 189
  },
  "hsl": {
    "h": 215.07,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52924,
    "c": 0.14414,
    "h": 257.6
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#2F6ABD
secondary
#CAAA7E
accent
#A144E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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