#2F65D2#2F65D2

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

Color values

HEX#2F65D2
RGBrgb(47, 101, 210)
HSLhsl(220, 64%, 50%)
HSVhsv(220, 78%, 82%)
CMYKcmyk(77.6%, 51.9%, 0%, 17.6%)
CIE-LABlab(45.03, 21.14, -61.30)
CIE-LCHlch(45.03, 64.85, 289.03°)
OKLaboklab(53.34% -0.0238 -0.1766)
OKLCHoklch(53.34% 0.178 262.3)
XYZxyz(17.4546, 14.5628, 62.8512)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65D2 #D29C2F
analogous
#2FB6D2 #2F65D2 #4B2FD2
triadic
#2F65D2 #D22F65 #65D22F
tetradic
#2F65D2 #D22FB6 #D29C2F #2FD24B
square
#2F65D2 #D22FB6 #D29C2F #2FD24B
split-complementary
#2F65D2 #D24B2F #B6D22F
monochromatic
#18356F #234DA1 #2F65D2 #618ADD #94B0E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F65D2#FFFFFF#000000##FFFFFF
##2F65D21.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)
#1872D6
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f65d2;
/* rgb */ color: rgb(47, 101, 210);
/* oklch */ color: oklch(53.3% 0.178 262.3);
Tailwind
colors: {
  custom: {
    50: '#8090e1',
    500: '#2f65d2',
    950: '#000000',
  },
}
SCSS
$custom: #2f65d2;
$custom-light: #8090e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65d2",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 210
  },
  "hsl": {
    "h": 220.123,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53338,
    "c": 0.17818,
    "h": 262.3
  },
  "luminance": 0.14565
}

Semantic roles & 50–950 ramp

primary
#2F65D2
secondary
#D3BB8A
accent
#B040E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2F65D2

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

Preview Lab → · Contrast checker → · Palette generator →

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