#2F65B1#2F65B1

#2F65B1 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.0% C 0.134 H 257.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2F65B1
RGBrgb(47, 101, 177)
HSLhsl(215, 58%, 44%)
HSVhsv(215, 73%, 69%)
CMYKcmyk(73.4%, 42.9%, 0%, 30.6%)
CIE-LABlab(42.89, 8.70, -45.64)
CIE-LCHlch(42.89, 46.46, 280.79°)
OKLaboklab(51.01% -0.029 -0.1305)
OKLCHoklch(51.01% 0.134 257.5)
XYZxyz(13.7589, 13.0845, 43.3869)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65B1 #B17B2F
analogous
#2FA6B1 #2F65B1 #3A2FB1
triadic
#2F65B1 #B12F65 #65B12F
tetradic
#2F65B1 #B12FA6 #B17B2F #2FB13A
square
#2F65B1 #B12FA6 #B17B2F #2FB13A
split-complementary
#2F65B1 #B13A2F #A6B12F
monochromatic
#152E50 #224981 #2F65B1 #4D84D0 #7EA5DD

Accessibility & contrast

On white

5.81
#2F65B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2F65B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65B1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65B1#FFFFFF#000000##FFFFFF
##2F65B11.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB4
Deuteranopia (green-blind)
#2960AF
Tritanopia (blue-blind)
#007782
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f65b1;
/* rgb */ color: rgb(47, 101, 177);
/* oklch */ color: oklch(51.0% 0.134 257.5);
Tailwind
colors: {
  custom: {
    50: '#7990c9',
    500: '#2f65b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f65b1;
$custom-light: #7990c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65b1",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 177
  },
  "hsl": {
    "h": 215.077,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51011,
    "c": 0.13367,
    "h": 257.5
  },
  "luminance": 0.13086
}

Semantic roles & 50–950 ramp

primary
#2F65B1
secondary
#C5A576
accent
#A147E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F65B1

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

Preview Lab → · Contrast checker → · Palette generator →

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