#2F65E0#2F65E0

#2F65E0 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.197 H 263.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2F65E0
RGBrgb(47, 101, 224)
HSLhsl(222, 74%, 53%)
HSVhsv(222, 79%, 88%)
CMYKcmyk(79%, 54.9%, 0%, 12.2%)
CIE-LABlab(46.03, 26.39, -67.65)
CIE-LCHlch(46.03, 72.61, 291.31°)
OKLaboklab(54.41% -0.0226 -0.1952)
OKLCHoklch(54.41% 0.197 263.4)
XYZxyz(19.2757, 15.2912, 72.4421)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65E0 #E0AA2F
analogous
#2FBDE0 #2F65E0 #512FE0
triadic
#2F65E0 #E02F65 #65E02F
tetradic
#2F65E0 #E02FBD #E0AA2F #2FE051
square
#2F65E0 #E02FBD #E0AA2F #2FE051
split-complementary
#2F65E0 #E0512F #BDE02F
monochromatic
#133581 #1B4BB7 #2F65E0 #648CE8 #9AB4F0

Accessibility & contrast

On white

5.17
#2F65E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2F65E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65E0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65E0#FFFFFF#000000##FFFFFF
##2F65E01.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f65e0;
/* rgb */ color: rgb(47, 101, 224);
/* oklch */ color: oklch(54.4% 0.197 263.4);
Tailwind
colors: {
  custom: {
    50: '#8390eb',
    500: '#2f65e0',
    950: '#000000',
  },
}
SCSS
$custom: #2f65e0;
$custom-light: #8390eb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65e0",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 224
  },
  "hsl": {
    "h": 221.695,
    "s": 74.059,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54413,
    "c": 0.19654,
    "h": 263.4
  },
  "luminance": 0.15294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F65E0

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

Preview Lab → · Contrast checker → · Palette generator →

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