#2F66E0#2F66E0

#2F66E0 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.6% C 0.195 H 263.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2F66E0
RGBrgb(47, 102, 224)
HSLhsl(221, 74%, 53%)
HSVhsv(221, 79%, 88%)
CMYKcmyk(79%, 54.5%, 0%, 12.2%)
CIE-LABlab(46.29, 25.75, -67.22)
CIE-LCHlch(46.29, 71.98, 290.96°)
OKLaboklab(54.61% -0.0232 -0.194)
OKLCHoklch(54.61% 0.195 263.2)
XYZxyz(19.3734, 15.4866, 72.4747)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66E0 #E0A92F
analogous
#2FBEE0 #2F66E0 #502FE0
triadic
#2F66E0 #E02F66 #66E02F
tetradic
#2F66E0 #E02FBE #E0A92F #2FE050
square
#2F66E0 #E02FBE #E0A92F #2FE050
split-complementary
#2F66E0 #E0502F #BEE02F
monochromatic
#133581 #1B4BB7 #2F66E0 #648DE8 #9AB4F0

Accessibility & contrast

On white

5.12
#2F66E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2F66E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66E0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66E0#FFFFFF#000000##FFFFFF
##2F66E01.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E4
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#008499
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f66e0;
/* rgb */ color: rgb(47, 102, 224);
/* oklch */ color: oklch(54.6% 0.195 263.2);
Tailwind
colors: {
  custom: {
    50: '#8391eb',
    500: '#2f66e0',
    950: '#000000',
  },
}
SCSS
$custom: #2f66e0;
$custom-light: #8391eb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66e0",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 224
  },
  "hsl": {
    "h": 221.356,
    "s": 74.059,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54612,
    "c": 0.19536,
    "h": 263.2
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#2F66E0
secondary
#DCC48F
accent
#B737F1
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #2F66E0

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

Preview Lab → · Contrast checker → · Palette generator →

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