#2F66B6#2F66B6

#2F66B6 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.6% C 0.139 H 258.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2F66B6
RGBrgb(47, 102, 182)
HSLhsl(216, 59%, 45%)
HSVhsv(216, 74%, 71%)
CMYKcmyk(74.2%, 44%, 0%, 28.6%)
CIE-LABlab(43.48, 9.94, -47.62)
CIE-LCHlch(43.48, 48.64, 281.79°)
OKLaboklab(51.57% -0.0289 -0.1363)
OKLCHoklch(51.57% 0.139 258)
XYZxyz(14.3641, 13.4829, 46.0923)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66B6 #B67F2F
analogous
#2FA9B6 #2F66B6 #3C2FB6
triadic
#2F66B6 #B62F66 #66B62F
tetradic
#2F66B6 #B62FA9 #B67F2F #2FB63C
square
#2F66B6 #B62FA9 #B67F2F #2FB63C
split-complementary
#2F66B6 #B63C2F #A9B62F
monochromatic
#162F55 #224B85 #2F66B6 #5085D2 #81A7DE

Accessibility & contrast

On white

5.68
#2F66B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2F66B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66B6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66B6#FFFFFF#000000##FFFFFF
##2F66B61.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6DB9
Deuteranopia (green-blind)
#2561B4
Tritanopia (blue-blind)
#007985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f66b6;
/* rgb */ color: rgb(47, 102, 182);
/* oklch */ color: oklch(51.6% 0.139 258.0);
Tailwind
colors: {
  custom: {
    50: '#7a91cc',
    500: '#2f66b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f66b6;
$custom-light: #7a91cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66b6",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 182
  },
  "hsl": {
    "h": 215.556,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.13931,
    "h": 258
  },
  "luminance": 0.13484
}

Semantic roles & 50–950 ramp

primary
#2F66B6
secondary
#C7A879
accent
#A246E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F66B6

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

Preview Lab → · Contrast checker → · Palette generator →

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