#2F66D3#2F66D3

#2F66D3 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.6% C 0.178 H 262.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2F66D3
RGBrgb(47, 102, 211)
HSLhsl(220, 65%, 51%)
HSVhsv(220, 78%, 83%)
CMYKcmyk(77.7%, 51.7%, 0%, 17.3%)
CIE-LABlab(45.37, 20.88, -61.32)
CIE-LCHlch(45.37, 64.78, 288.80°)
OKLaboklab(53.62% -0.0245 -0.1766)
OKLCHoklch(53.62% 0.178 262.1)
XYZxyz(17.6773, 14.8082, 63.5420)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66D3 #D39C2F
analogous
#2FB8D3 #2F66D3 #4A2FD3
triadic
#2F66D3 #D32F66 #66D32F
tetradic
#2F66D3 #D32FB8 #D39C2F #2FD34A
square
#2F66D3 #D32FB8 #D39C2F #2FD34A
split-complementary
#2F66D3 #D34A2F #B8D32F
monochromatic
#183570 #224DA2 #2F66D3 #628BDE #94B0E8

Accessibility & contrast

On white

5.30
#2F66D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2F66D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66D3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66D3#FFFFFF#000000##FFFFFF
##2F66D31.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B73D7
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#008093
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f66d3;
/* rgb */ color: rgb(47, 102, 211);
/* oklch */ color: oklch(53.6% 0.178 262.1);
Tailwind
colors: {
  custom: {
    50: '#8091e1',
    500: '#2f66d3',
    950: '#000000',
  },
}
SCSS
$custom: #2f66d3;
$custom-light: #8091e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66d3",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 211
  },
  "hsl": {
    "h": 219.878,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5362,
    "c": 0.17831,
    "h": 262.1
  },
  "luminance": 0.1481
}

Semantic roles & 50–950 ramp

primary
#2F66D3
secondary
#D3BB8A
accent
#B040E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2F66D3

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

Preview Lab → · Contrast checker → · Palette generator →

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