#2F66BC#2F66BC

#2F66BC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.0% C 0.147 H 259.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2F66BC
RGBrgb(47, 102, 188)
HSLhsl(217, 60%, 46%)
HSVhsv(217, 75%, 74%)
CMYKcmyk(75%, 45.7%, 0%, 26.3%)
CIE-LABlab(43.85, 12.20, -50.52)
CIE-LCHlch(43.85, 51.97, 283.58°)
OKLaboklab(51.97% -0.0277 -0.1448)
OKLCHoklch(51.97% 0.147 259.2)
XYZxyz(14.9975, 13.7362, 49.4281)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66BC #BC852F
analogous
#2FACBC #2F66BC #3F2FBC
triadic
#2F66BC #BC2F66 #66BC2F
tetradic
#2F66BC #BC2FAC #BC852F #2FBC3F
square
#2F66BC #BC2FAC #BC852F #2FBC3F
split-complementary
#2F66BC #BC3F2F #ACBC2F
monochromatic
#17315A #234B8B #2F66BC #5486D4 #85A9E0

Accessibility & contrast

On white

5.60
#2F66BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2F66BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66BC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66BC#FFFFFF#000000##FFFFFF
##2F66BC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FBF
Deuteranopia (green-blind)
#1A62BA
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f66bc;
/* rgb */ color: rgb(47, 102, 188);
/* oklch */ color: oklch(52.0% 0.147 259.2);
Tailwind
colors: {
  custom: {
    50: '#7b91d1',
    500: '#2f66bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f66bc;
$custom-light: #7b91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66bc",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 216.596,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.14745,
    "h": 259.2
  },
  "luminance": 0.13738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F66BC

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

Preview Lab → · Contrast checker → · Palette generator →

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