#2F66B3#2F66B3

#2F66B3 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.4% C 0.135 H 257.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2F66B3
RGBrgb(47, 102, 179)
HSLhsl(215, 58%, 44%)
HSVhsv(215, 74%, 70%)
CMYKcmyk(73.7%, 43%, 0%, 29.8%)
CIE-LABlab(43.30, 8.81, -46.15)
CIE-LCHlch(43.30, 46.99, 280.81°)
OKLaboklab(51.37% -0.0295 -0.132)
OKLCHoklch(51.37% 0.135 257.4)
XYZxyz(14.0574, 13.3602, 44.4770)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66B3 #B37C2F
analogous
#2FA8B3 #2F66B3 #3A2FB3
triadic
#2F66B3 #B32F66 #66B32F
tetradic
#2F66B3 #B32FA8 #B37C2F #2FB33A
square
#2F66B3 #B32FA8 #B37C2F #2FB33A
split-complementary
#2F66B3 #B33A2F #A8B32F
monochromatic
#162F52 #224A83 #2F66B3 #4F85D1 #7FA6DD

Accessibility & contrast

On white

5.72
#2F66B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2F66B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66B3
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66B3#FFFFFF#000000##FFFFFF
##2F66B31.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406DB6
Deuteranopia (green-blind)
#2961B1
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f66b3;
/* rgb */ color: rgb(47, 102, 179);
/* oklch */ color: oklch(51.4% 0.135 257.4);
Tailwind
colors: {
  custom: {
    50: '#7991ca',
    500: '#2f66b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f66b3;
$custom-light: #7991ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66b3",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 215,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51368,
    "c": 0.13524,
    "h": 257.4
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#2F66B3
secondary
#C6A578
accent
#A146E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F66B3

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

Preview Lab → · Contrast checker → · Palette generator →

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