#2F66B5#2F66B5

#2F66B5 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.5% C 0.138 H 257.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2F66B5
RGBrgb(47, 102, 181)
HSLhsl(215, 59%, 45%)
HSVhsv(215, 74%, 71%)
CMYKcmyk(74%, 43.6%, 0%, 29%)
CIE-LABlab(43.42, 9.56, -47.13)
CIE-LCHlch(43.42, 48.09, 281.47°)
OKLaboklab(51.5% -0.029 -0.1349)
OKLCHoklch(51.5% 0.138 257.8)
XYZxyz(14.2611, 13.4417, 45.5500)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66B5 #B57E2F
analogous
#2FA9B5 #2F66B5 #3B2FB5
triadic
#2F66B5 #B52F66 #66B52F
tetradic
#2F66B5 #B52FA9 #B57E2F #2FB53B
square
#2F66B5 #B52FA9 #B57E2F #2FB53B
split-complementary
#2F66B5 #B53B2F #A9B52F
monochromatic
#162F54 #224B84 #2F66B5 #5085D1 #80A7DE

Accessibility & contrast

On white

5.69
#2F66B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2F66B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66B5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66B5#FFFFFF#000000##FFFFFF
##2F66B51.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#2661B3
Tritanopia (blue-blind)
#007984
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f66b5;
/* rgb */ color: rgb(47, 102, 181);
/* oklch */ color: oklch(51.5% 0.138 257.8);
Tailwind
colors: {
  custom: {
    50: '#7991cc',
    500: '#2f66b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f66b5;
$custom-light: #7991cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66b5",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 215.373,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.515,
    "c": 0.13795,
    "h": 257.8
  },
  "luminance": 0.13443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F66B5

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

Preview Lab → · Contrast checker → · Palette generator →

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