#2F65CE#2F65CE

#2F65CE is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.0% C 0.173 H 261.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2F65CE
RGBrgb(47, 101, 206)
HSLhsl(220, 63%, 50%)
HSVhsv(220, 77%, 81%)
CMYKcmyk(77.2%, 51%, 0%, 19.2%)
CIE-LABlab(44.75, 19.64, -59.46)
CIE-LCHlch(44.75, 62.62, 288.28°)
OKLaboklab(53.04% -0.0243 -0.1711)
OKLCHoklch(53.04% 0.173 261.9)
XYZxyz(16.9625, 14.3660, 60.2595)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65CE #CE982F
analogous
#2FB4CE #2F65CE #492FCE
triadic
#2F65CE #CE2F65 #65CE2F
tetradic
#2F65CE #CE2FB4 #CE982F #2FCE49
square
#2F65CE #CE2FB4 #CE982F #2FCE49
split-complementary
#2F65CE #CE492F #B4CE2F
monochromatic
#18346A #244D9C #2F65CE #6089DB #91AEE6

Accessibility & contrast

On white

5.42
#2F65CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2F65CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65CE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65CE#FFFFFF#000000##FFFFFF
##2F65CE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f65ce;
/* rgb */ color: rgb(47, 101, 206);
/* oklch */ color: oklch(53.0% 0.173 261.9);
Tailwind
colors: {
  custom: {
    50: '#7f90de',
    500: '#2f65ce',
    950: '#000000',
  },
}
SCSS
$custom: #2f65ce;
$custom-light: #7f90de;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65ce",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 219.623,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5304,
    "c": 0.17287,
    "h": 261.9
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#2F65CE
secondary
#D1B888
accent
#AE42E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2F65CE

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

Preview Lab → · Contrast checker → · Palette generator →

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