#2F65B2#2F65B2

#2F65B2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.1% C 0.135 H 257.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2F65B2
RGBrgb(47, 101, 178)
HSLhsl(215, 58%, 44%)
HSVhsv(215, 74%, 70%)
CMYKcmyk(73.6%, 43.3%, 0%, 30.2%)
CIE-LABlab(42.95, 9.07, -46.13)
CIE-LCHlch(42.95, 47.01, 281.13°)
OKLaboklab(51.08% -0.0287 -0.1319)
OKLCHoklch(51.08% 0.135 257.7)
XYZxyz(13.8589, 13.1245, 43.9137)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65B2 #B27C2F
analogous
#2FA7B2 #2F65B2 #3B2FB2
triadic
#2F65B2 #B22F65 #65B22F
tetradic
#2F65B2 #B22FA7 #B27C2F #2FB23B
square
#2F65B2 #B22FA7 #B27C2F #2FB23B
split-complementary
#2F65B2 #B23B2F #A7B22F
monochromatic
#152E51 #224A82 #2F65B2 #4E84D0 #7EA5DD

Accessibility & contrast

On white

5.79
#2F65B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F65B2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65B2#FFFFFF#000000##FFFFFF
##2F65B21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f65b2;
/* rgb */ color: rgb(47, 101, 178);
/* oklch */ color: oklch(51.1% 0.135 257.7);
Tailwind
colors: {
  custom: {
    50: '#7990c9',
    500: '#2f65b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f65b2;
$custom-light: #7990c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65b2",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 215.267,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51076,
    "c": 0.13504,
    "h": 257.7
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#2F65B2
secondary
#C6A577
accent
#A246E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F65B2

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

Preview Lab → · Contrast checker → · Palette generator →

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