#2F65B6#2F65B6

#2F65B6 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.3% C 0.140 H 258.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2F65B6
RGBrgb(47, 101, 182)
HSLhsl(216, 59%, 45%)
HSVhsv(216, 74%, 71%)
CMYKcmyk(74.2%, 44.5%, 0%, 28.6%)
CIE-LABlab(43.19, 10.58, -48.08)
CIE-LCHlch(43.19, 49.23, 282.41°)
OKLaboklab(51.34% -0.028 -0.1377)
OKLCHoklch(51.34% 0.14 258.5)
XYZxyz(14.2664, 13.2875, 46.0598)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65B6 #B6802F
analogous
#2FA9B6 #2F65B6 #3D2FB6
triadic
#2F65B6 #B62F65 #65B62F
tetradic
#2F65B6 #B62FA9 #B6802F #2FB63D
square
#2F65B6 #B62FA9 #B6802F #2FB63D
split-complementary
#2F65B6 #B63D2F #A9B62F
monochromatic
#162F55 #224A85 #2F65B6 #5084D2 #81A6DE

Accessibility & contrast

On white

5.74
#2F65B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2F65B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65B6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65B6#FFFFFF#000000##FFFFFF
##2F65B61.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6DB9
Deuteranopia (green-blind)
#2260B4
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f65b6;
/* rgb */ color: rgb(47, 101, 182);
/* oklch */ color: oklch(51.3% 0.140 258.5);
Tailwind
colors: {
  custom: {
    50: '#7a90cc',
    500: '#2f65b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f65b6;
$custom-light: #7a90cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65b6",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 182
  },
  "hsl": {
    "h": 216,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51343,
    "c": 0.14048,
    "h": 258.5
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#2F65B6
secondary
#C7A879
accent
#A446E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F65B6

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

Preview Lab → · Contrast checker → · Palette generator →

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