#2F68E2#2F68E2

#2F68E2 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.2% C 0.196 H 262.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F68E2
RGBrgb(47, 104, 226)
HSLhsl(221, 76%, 54%)
HSVhsv(221, 79%, 89%)
CMYKcmyk(79.2%, 54%, 0%, 11.4%)
CIE-LABlab(46.97, 25.22, -67.26)
CIE-LCHlch(46.97, 71.83, 290.55°)
OKLaboklab(55.17% -0.0244 -0.194)
OKLCHoklch(55.17% 0.196 262.8)
XYZxyz(19.8451, 15.9936, 73.9779)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F68E2 #E2A92F
analogous
#2FC1E2 #2F68E2 #4F2FE2
triadic
#2F68E2 #E22F68 #68E22F
tetradic
#2F68E2 #E22FC1 #E2A92F #2FE24F
square
#2F68E2 #E22FC1 #E2A92F #2FE24F
split-complementary
#2F68E2 #E24F2F #C1E22F
monochromatic
#123784 #1A4DBA #2F68E2 #658FE9 #9AB6F1

Accessibility & contrast

On white

5.00
#2F68E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2F68E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F68E2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F68E2#FFFFFF#000000##FFFFFF
##2F68E21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#00869B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f68e2;
/* rgb */ color: rgb(47, 104, 226);
/* oklch */ color: oklch(55.2% 0.196 262.8);
Tailwind
colors: {
  custom: {
    50: '#8392ec',
    500: '#2f68e2',
    950: '#000000',
  },
}
SCSS
$custom: #2f68e2;
$custom-light: #8392ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2f68e2",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 226
  },
  "hsl": {
    "h": 220.894,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55167,
    "c": 0.19558,
    "h": 262.8
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#2F68E2
secondary
#DDC490
accent
#B636F2
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #2F68E2

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

Preview Lab → · Contrast checker → · Palette generator →

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