#2F66BB#2F66BB

#2F66BB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 51.9% C 0.146 H 259.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2F66BB
RGBrgb(47, 102, 187)
HSLhsl(216, 60%, 46%)
HSVhsv(216, 75%, 73%)
CMYKcmyk(74.9%, 45.5%, 0%, 26.7%)
CIE-LABlab(43.79, 11.82, -50.04)
CIE-LCHlch(43.79, 51.41, 283.30°)
OKLaboklab(51.9% -0.0279 -0.1434)
OKLCHoklch(51.9% 0.146 259)
XYZxyz(14.8900, 13.6933, 48.8624)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66BB #BB842F
analogous
#2FACBB #2F66BB #3E2FBB
triadic
#2F66BB #BB2F66 #66BB2F
tetradic
#2F66BB #BB2FAC #BB842F #2FBB3E
square
#2F66BB #BB2FAC #BB842F #2FBB3E
split-complementary
#2F66BB #BB3E2F #ACBB2F
monochromatic
#163159 #234B8A #2F66BB #5386D4 #84A8E0

Accessibility & contrast

On white

5.62
#2F66BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2F66BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66BB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66BB#FFFFFF#000000##FFFFFF
##2F66BB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBE
Deuteranopia (green-blind)
#1C62B9
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f66bb;
/* rgb */ color: rgb(47, 102, 187);
/* oklch */ color: oklch(51.9% 0.146 259.0);
Tailwind
colors: {
  custom: {
    50: '#7b91d0',
    500: '#2f66bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f66bb;
$custom-light: #7b91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66bb",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 216.429,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.1461,
    "h": 259
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#2F66BB
secondary
#C9AB7C
accent
#A545E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F66BB

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

Preview Lab → · Contrast checker → · Palette generator →

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