#2F65BC#2F65BC

#2F65BC is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.8% C 0.149 H 259.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2F65BC
RGBrgb(47, 101, 188)
HSLhsl(217, 60%, 46%)
HSVhsv(217, 75%, 74%)
CMYKcmyk(75%, 46.3%, 0%, 26.3%)
CIE-LABlab(43.57, 12.84, -50.97)
CIE-LCHlch(43.57, 52.57, 284.14°)
OKLaboklab(51.75% -0.0269 -0.1462)
OKLCHoklch(51.75% 0.149 259.6)
XYZxyz(14.8998, 13.5409, 49.3956)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65BC #BC862F
analogous
#2FABBC #2F65BC #3F2FBC
triadic
#2F65BC #BC2F65 #65BC2F
tetradic
#2F65BC #BC2FAB #BC862F #2FBC3F
square
#2F65BC #BC2FAB #BC862F #2FBC3F
split-complementary
#2F65BC #BC3F2F #ABBC2F
monochromatic
#17305A #234B8B #2F65BC #5485D4 #85A8E0

Accessibility & contrast

On white

5.66
#2F65BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2F65BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65BC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65BC#FFFFFF#000000##FFFFFF
##2F65BC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#1661BA
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f65bc;
/* rgb */ color: rgb(47, 101, 188);
/* oklch */ color: oklch(51.8% 0.149 259.6);
Tailwind
colors: {
  custom: {
    50: '#7b90d1',
    500: '#2f65bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f65bc;
$custom-light: #7b90d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65bc",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 188
  },
  "hsl": {
    "h": 217.021,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51752,
    "c": 0.14864,
    "h": 259.6
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F65BC

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

Preview Lab → · Contrast checker → · Palette generator →

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