#2F65BB#2F65BB

#2F65BB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.7% C 0.147 H 259.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2F65BB
RGBrgb(47, 101, 187)
HSLhsl(217, 60%, 46%)
HSVhsv(217, 75%, 73%)
CMYKcmyk(74.9%, 46%, 0%, 26.7%)
CIE-LABlab(43.50, 12.47, -50.49)
CIE-LCHlch(43.50, 52.01, 283.87°)
OKLaboklab(51.68% -0.027 -0.1448)
OKLCHoklch(51.68% 0.147 259.4)
XYZxyz(14.7924, 13.4979, 48.8298)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65BB #BB852F
analogous
#2FABBB #2F65BB #3F2FBB
triadic
#2F65BB #BB2F65 #65BB2F
tetradic
#2F65BB #BB2FAB #BB852F #2FBB3F
square
#2F65BB #BB2FAB #BB852F #2FBB3F
split-complementary
#2F65BB #BB3F2F #ABBB2F
monochromatic
#163059 #234B8A #2F65BB #5385D4 #84A8E0

Accessibility & contrast

On white

5.68
#2F65BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2F65BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65BB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65BB#FFFFFF#000000##FFFFFF
##2F65BB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f65bb;
/* rgb */ color: rgb(47, 101, 187);
/* oklch */ color: oklch(51.7% 0.147 259.4);
Tailwind
colors: {
  custom: {
    50: '#7b90d0',
    500: '#2f65bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f65bb;
$custom-light: #7b90d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65bb",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 187
  },
  "hsl": {
    "h": 216.857,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51683,
    "c": 0.14728,
    "h": 259.4
  },
  "luminance": 0.135
}

Semantic roles & 50–950 ramp

primary
#2F65BB
secondary
#C9AC7C
accent
#A645E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F65BB

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

Preview Lab → · Contrast checker → · Palette generator →

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