#2F65C5#2F65C5

#2F65C5 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.4% C 0.161 H 260.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#2F65C5
RGBrgb(47, 101, 197)
HSLhsl(218, 61%, 48%)
HSVhsv(218, 76%, 77%)
CMYKcmyk(76.1%, 48.7%, 0%, 22.7%)
CIE-LABlab(44.15, 16.24, -55.25)
CIE-LCHlch(44.15, 57.59, 286.38°)
OKLaboklab(52.39% -0.0255 -0.1588)
OKLCHoklch(52.39% 0.161 260.9)
XYZxyz(15.9004, 13.9411, 54.6654)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65C5 #C58F2F
analogous
#2FB0C5 #2F65C5 #442FC5
triadic
#2F65C5 #C52F65 #65C52F
tetradic
#2F65C5 #C52FB0 #C58F2F #2FC544
square
#2F65C5 #C52FB0 #C58F2F #2FC544
split-complementary
#2F65C5 #C5442F #B0C52F
monochromatic
#173262 #234C94 #2F65C5 #5A87D8 #8BABE3

Accessibility & contrast

On white

5.54
#2F65C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#2F65C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65C5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65C5#FFFFFF#000000##FFFFFF
##2F65C51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E70C9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f65c5;
/* rgb */ color: rgb(47, 101, 197);
/* oklch */ color: oklch(52.4% 0.161 260.9);
Tailwind
colors: {
  custom: {
    50: '#7d90d7',
    500: '#2f65c5',
    950: '#000000',
  },
}
SCSS
$custom: #2f65c5;
$custom-light: #7d90d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65c5",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 197
  },
  "hsl": {
    "h": 218.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.16081,
    "h": 260.9
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#2F65C5
secondary
#CDB282
accent
#AA43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F65C5

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

Preview Lab → · Contrast checker → · Palette generator →

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