#2F65B3#2F65B3

#2F65B3 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.1% C 0.136 H 257.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2F65B3
RGBrgb(47, 101, 179)
HSLhsl(215, 58%, 44%)
HSVhsv(215, 74%, 70%)
CMYKcmyk(73.7%, 43.6%, 0%, 29.8%)
CIE-LABlab(43.01, 9.45, -46.62)
CIE-LCHlch(43.01, 47.57, 281.46°)
OKLaboklab(51.14% -0.0285 -0.1334)
OKLCHoklch(51.14% 0.136 257.9)
XYZxyz(13.9597, 13.1648, 44.4444)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65B3 #B37D2F
analogous
#2FA7B3 #2F65B3 #3B2FB3
triadic
#2F65B3 #B32F65 #65B32F
tetradic
#2F65B3 #B32FA7 #B37D2F #2FB33B
square
#2F65B3 #B32FA7 #B37D2F #2FB33B
split-complementary
#2F65B3 #B33B2F #A7B32F
monochromatic
#162E52 #224A83 #2F65B3 #4F84D1 #7FA6DD

Accessibility & contrast

On white

5.78
#2F65B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2F65B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65B3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65B3#FFFFFF#000000##FFFFFF
##2F65B31.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB6
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f65b3;
/* rgb */ color: rgb(47, 101, 179);
/* oklch */ color: oklch(51.1% 0.136 257.9);
Tailwind
colors: {
  custom: {
    50: '#7990ca',
    500: '#2f65b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f65b3;
$custom-light: #7990ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65b3",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 179
  },
  "hsl": {
    "h": 215.455,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51143,
    "c": 0.13639,
    "h": 257.9
  },
  "luminance": 0.13166
}

Semantic roles & 50–950 ramp

primary
#2F65B3
secondary
#C6A678
accent
#A246E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F65B3

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

Preview Lab → · Contrast checker → · Palette generator →

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