#2F66CE#2F66CE

#2F66CE is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.2% C 0.172 H 261.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2F66CE
RGBrgb(47, 102, 206)
HSLhsl(219, 63%, 50%)
HSVhsv(219, 77%, 81%)
CMYKcmyk(77.2%, 50.5%, 0%, 19.2%)
CIE-LABlab(45.03, 19.00, -59.01)
CIE-LCHlch(45.03, 62.00, 287.84°)
OKLaboklab(53.25% -0.025 -0.1698)
OKLCHoklch(53.25% 0.172 261.6)
XYZxyz(17.0602, 14.5613, 60.2920)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66CE #CE972F
analogous
#2FB6CE #2F66CE #472FCE
triadic
#2F66CE #CE2F66 #66CE2F
tetradic
#2F66CE #CE2FB6 #CE972F #2FCE47
square
#2F66CE #CE2FB6 #CE972F #2FCE47
split-complementary
#2F66CE #CE472F #B6CE2F
monochromatic
#18356A #244D9C #2F66CE #608ADB #91AFE6

Accessibility & contrast

On white

5.37
#2F66CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2F66CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66CE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66CE#FFFFFF#000000##FFFFFF
##2F66CE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2472D2
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f66ce;
/* rgb */ color: rgb(47, 102, 206);
/* oklch */ color: oklch(53.2% 0.172 261.6);
Tailwind
colors: {
  custom: {
    50: '#7f91de',
    500: '#2f66ce',
    950: '#000000',
  },
}
SCSS
$custom: #2f66ce;
$custom-light: #7f91de;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66ce",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 219.245,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.17167,
    "h": 261.6
  },
  "luminance": 0.14563
}

Semantic roles & 50–950 ramp

primary
#2F66CE
secondary
#D1B888
accent
#AD42E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2F66CE

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

Preview Lab → · Contrast checker → · Palette generator →

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