#2F65BD#2F65BD

#2F65BD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 51.8% C 0.150 H 259.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2F65BD
RGBrgb(47, 101, 189)
HSLhsl(217, 60%, 46%)
HSVhsv(217, 75%, 74%)
CMYKcmyk(75.1%, 46.6%, 0%, 25.9%)
CIE-LABlab(43.63, 13.22, -51.45)
CIE-LCHlch(43.63, 53.12, 284.41°)
OKLaboklab(51.82% -0.0267 -0.1476)
OKLCHoklch(51.82% 0.15 259.7)
XYZxyz(15.0079, 13.5841, 49.9653)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65BD #BD872F
analogous
#2FACBD #2F65BD #402FBD
triadic
#2F65BD #BD2F65 #65BD2F
tetradic
#2F65BD #BD2FAC #BD872F #2FBD40
square
#2F65BD #BD2FAC #BD872F #2FBD40
split-complementary
#2F65BD #BD402F #ACBD2F
monochromatic
#17315B #234B8C #2F65BD #5585D5 #86A8E1

Accessibility & contrast

On white

5.65
#2F65BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2F65BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65BD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65BD#FFFFFF#000000##FFFFFF
##2F65BD1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EC0
Deuteranopia (green-blind)
#1361BB
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f65bd;
/* rgb */ color: rgb(47, 101, 189);
/* oklch */ color: oklch(51.8% 0.150 259.7);
Tailwind
colors: {
  custom: {
    50: '#7b90d1',
    500: '#2f65bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f65bd;
$custom-light: #7b90d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65bd",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 189
  },
  "hsl": {
    "h": 217.183,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51821,
    "c": 0.15,
    "h": 259.7
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#2F65BD
secondary
#CAAD7E
accent
#A744E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F65BD

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

Preview Lab → · Contrast checker → · Palette generator →

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