#2F65C7#2F65C7

#2F65C7 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.5% C 0.164 H 261.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2F65C7
RGBrgb(47, 101, 199)
HSLhsl(219, 62%, 48%)
HSVhsv(219, 76%, 78%)
CMYKcmyk(76.4%, 49.2%, 0%, 22%)
CIE-LABlab(44.28, 17.00, -56.19)
CIE-LCHlch(44.28, 58.71, 286.83°)
OKLaboklab(52.53% -0.0252 -0.1615)
OKLCHoklch(52.53% 0.164 261.1)
XYZxyz(16.1311, 14.0334, 55.8803)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65C7 #C7912F
analogous
#2FB1C7 #2F65C7 #452FC7
triadic
#2F65C7 #C72F65 #65C72F
tetradic
#2F65C7 #C72FB1 #C7912F #2FC745
square
#2F65C7 #C72FB1 #C7912F #2FC745
split-complementary
#2F65C7 #C7452F #B1C72F
monochromatic
#183364 #234C95 #2F65C7 #5B87D8 #8CACE4

Accessibility & contrast

On white

5.52
#2F65C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2F65C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65C7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65C7#FFFFFF#000000##FFFFFF
##2F65C71.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B70CB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f65c7;
/* rgb */ color: rgb(47, 101, 199);
/* oklch */ color: oklch(52.5% 0.164 261.1);
Tailwind
colors: {
  custom: {
    50: '#7d90d9',
    500: '#2f65c7',
    950: '#000000',
  },
}
SCSS
$custom: #2f65c7;
$custom-light: #7d90d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65c7",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 199
  },
  "hsl": {
    "h": 218.684,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52528,
    "c": 0.1635,
    "h": 261.1
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#2F65C7
secondary
#CEB484
accent
#AB43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2F65C7

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

Preview Lab → · Contrast checker → · Palette generator →

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