#2F65E2#2F65E2

#2F65E2 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.6% C 0.199 H 263.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2F65E2
RGBrgb(47, 101, 226)
HSLhsl(222, 76%, 54%)
HSVhsv(222, 79%, 89%)
CMYKcmyk(79.2%, 55.3%, 0%, 11.4%)
CIE-LABlab(46.18, 27.13, -68.54)
CIE-LCHlch(46.18, 73.72, 291.60°)
OKLaboklab(54.57% -0.0224 -0.1979)
OKLCHoklch(54.57% 0.199 263.5)
XYZxyz(19.5485, 15.4004, 73.8790)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65E2 #E2AC2F
analogous
#2FBFE2 #2F65E2 #522FE2
triadic
#2F65E2 #E22F65 #65E22F
tetradic
#2F65E2 #E22FBF #E2AC2F #2FE252
square
#2F65E2 #E22FBF #E2AC2F #2FE252
split-complementary
#2F65E2 #E2522F #BFE22F
monochromatic
#123584 #1A4ABA #2F65E2 #658DE9 #9AB5F1

Accessibility & contrast

On white

5.15
#2F65E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2F65E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65E2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65E2#FFFFFF#000000##FFFFFF
##2F65E21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#0066E0
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f65e2;
/* rgb */ color: rgb(47, 101, 226);
/* oklch */ color: oklch(54.6% 0.199 263.5);
Tailwind
colors: {
  custom: {
    50: '#8390ec',
    500: '#2f65e2',
    950: '#000000',
  },
}
SCSS
$custom: #2f65e2;
$custom-light: #8390ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65e2",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 226
  },
  "hsl": {
    "h": 221.899,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54571,
    "c": 0.19914,
    "h": 263.5
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

primary
#2F65E2
secondary
#DDC690
accent
#B936F2
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #2F65E2

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

Preview Lab → · Contrast checker → · Palette generator →

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