#2F65B7#2F65B7

#2F65B7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.4% C 0.142 H 258.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2F65B7
RGBrgb(47, 101, 183)
HSLhsl(216, 59%, 45%)
HSVhsv(216, 74%, 72%)
CMYKcmyk(74.3%, 44.8%, 0%, 28.2%)
CIE-LABlab(43.25, 10.96, -48.56)
CIE-LCHlch(43.25, 49.78, 282.71°)
OKLaboklab(51.41% -0.0278 -0.1391)
OKLCHoklch(51.41% 0.142 258.7)
XYZxyz(14.3701, 13.3290, 46.6060)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65B7 #B7812F
analogous
#2FA9B7 #2F65B7 #3D2FB7
triadic
#2F65B7 #B72F65 #65B72F
tetradic
#2F65B7 #B72FA9 #B7812F #2FB73D
square
#2F65B7 #B72FA9 #B7812F #2FB73D
split-complementary
#2F65B7 #B73D2F #A9B72F
monochromatic
#162F56 #224A86 #2F65B7 #5184D2 #82A7DF

Accessibility & contrast

On white

5.73
#2F65B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2F65B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65B7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65B7#FFFFFF#000000##FFFFFF
##2F65B71.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBA
Deuteranopia (green-blind)
#2060B5
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f65b7;
/* rgb */ color: rgb(47, 101, 183);
/* oklch */ color: oklch(51.4% 0.142 258.7);
Tailwind
colors: {
  custom: {
    50: '#7a90cd',
    500: '#2f65b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f65b7;
$custom-light: #7a90cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65b7",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 183
  },
  "hsl": {
    "h": 216.176,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5141,
    "c": 0.14185,
    "h": 258.7
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#2F65B7
secondary
#C8A97A
accent
#A445E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F65B7

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

Preview Lab → · Contrast checker → · Palette generator →

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