#2F66D8#2F66D8

#2F66D8 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.0% C 0.185 H 262.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F66D8
RGBrgb(47, 102, 216)
HSLhsl(220, 68%, 52%)
HSVhsv(220, 78%, 85%)
CMYKcmyk(78.2%, 52.8%, 0%, 15.3%)
CIE-LABlab(45.72, 22.76, -63.61)
CIE-LCHlch(45.72, 67.56, 289.69°)
OKLaboklab(54% -0.0239 -0.1834)
OKLCHoklch(54% 0.185 262.6)
XYZxyz(18.3139, 15.0628, 66.8946)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66D8 #D8A12F
analogous
#2FBBD8 #2F66D8 #4D2FD8
triadic
#2F66D8 #D82F66 #66D82F
tetradic
#2F66D8 #D82FBB #D8A12F #2FD84D
square
#2F66D8 #D82FBB #D8A12F #2FD84D
split-complementary
#2F66D8 #D84D2F #BBD82F
monochromatic
#163676 #204DAA #2F66D8 #638CE2 #96B2EB

Accessibility & contrast

On white

5.23
#2F66D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2F66D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66D8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66D8#FFFFFF#000000##FFFFFF
##2F66D81.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B74DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#008295
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f66d8;
/* rgb */ color: rgb(47, 102, 216);
/* oklch */ color: oklch(54.0% 0.185 262.6);
Tailwind
colors: {
  custom: {
    50: '#8191e5',
    500: '#2f66d8',
    950: '#000000',
  },
}
SCSS
$custom: #2f66d8;
$custom-light: #8191e5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66d8",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 220.473,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53996,
    "c": 0.18491,
    "h": 262.6
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#2F66D8
secondary
#D7BE8C
accent
#B23DEB
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #2F66D8

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

Preview Lab → · Contrast checker → · Palette generator →

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