#2F66D2#2F66D2

#2F66D2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.5% C 0.177 H 262.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2F66D2
RGBrgb(47, 102, 210)
HSLhsl(220, 64%, 50%)
HSVhsv(220, 78%, 82%)
CMYKcmyk(77.6%, 51.4%, 0%, 17.6%)
CIE-LABlab(45.30, 20.50, -60.86)
CIE-LCHlch(45.30, 64.22, 288.62°)
OKLaboklab(53.55% -0.0246 -0.1753)
OKLCHoklch(53.55% 0.177 262)
XYZxyz(17.5523, 14.7582, 62.8838)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66D2 #D29B2F
analogous
#2FB7D2 #2F66D2 #4A2FD2
triadic
#2F66D2 #D22F66 #66D22F
tetradic
#2F66D2 #D22FB7 #D29B2F #2FD24A
square
#2F66D2 #D22FB7 #D29B2F #2FD24A
split-complementary
#2F66D2 #D24A2F #B7D22F
monochromatic
#18356F #234DA1 #2F66D2 #618BDD #94B0E8

Accessibility & contrast

On white

5.31
#2F66D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2F66D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66D2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66D2#FFFFFF#000000##FFFFFF
##2F66D21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D73D6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#008092
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f66d2;
/* rgb */ color: rgb(47, 102, 210);
/* oklch */ color: oklch(53.5% 0.177 262.0);
Tailwind
colors: {
  custom: {
    50: '#8091e0',
    500: '#2f66d2',
    950: '#000000',
  },
}
SCSS
$custom: #2f66d2;
$custom-light: #8091e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66d2",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 219.755,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.17698,
    "h": 262
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#2F66D2
secondary
#D3BA8A
accent
#AF40E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2F66D2

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

Preview Lab → · Contrast checker → · Palette generator →

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