#2F65B4#2F65B4

#2F65B4 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.2% C 0.138 H 258.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2F65B4
RGBrgb(47, 101, 180)
HSLhsl(216, 59%, 45%)
HSVhsv(216, 74%, 71%)
CMYKcmyk(73.9%, 43.9%, 0%, 29.4%)
CIE-LABlab(43.07, 9.83, -47.11)
CIE-LCHlch(43.07, 48.12, 281.78°)
OKLaboklab(51.21% -0.0283 -0.1348)
OKLCHoklch(51.21% 0.138 258.1)
XYZxyz(14.0612, 13.2054, 44.9790)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65B4 #B47E2F
analogous
#2FA8B4 #2F65B4 #3C2FB4
triadic
#2F65B4 #B42F65 #65B42F
tetradic
#2F65B4 #B42FA8 #B47E2F #2FB43C
square
#2F65B4 #B42FA8 #B47E2F #2FB43C
split-complementary
#2F65B4 #B43C2F #A8B42F
monochromatic
#162F53 #224A83 #2F65B4 #4F84D1 #80A6DE

Accessibility & contrast

On white

5.77
#2F65B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2F65B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65B4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65B4#FFFFFF#000000##FFFFFF
##2F65B41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB7
Deuteranopia (green-blind)
#2560B2
Tritanopia (blue-blind)
#007883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f65b4;
/* rgb */ color: rgb(47, 101, 180);
/* oklch */ color: oklch(51.2% 0.138 258.1);
Tailwind
colors: {
  custom: {
    50: '#7990cb',
    500: '#2f65b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f65b4;
$custom-light: #7990cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65b4",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 180
  },
  "hsl": {
    "h": 215.639,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51209,
    "c": 0.13776,
    "h": 258.1
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#2F65B4
secondary
#C7A778
accent
#A346E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F65B4

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

Preview Lab → · Contrast checker → · Palette generator →

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