#2F65B8#2F65B8

#2F65B8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.5% C 0.143 H 258.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2F65B8
RGBrgb(47, 101, 184)
HSLhsl(216, 59%, 45%)
HSVhsv(216, 74%, 72%)
CMYKcmyk(74.5%, 45.1%, 0%, 27.8%)
CIE-LABlab(43.32, 11.33, -49.05)
CIE-LCHlch(43.32, 50.34, 283.01°)
OKLaboklab(51.48% -0.0276 -0.1405)
OKLCHoklch(51.48% 0.143 258.9)
XYZxyz(14.4746, 13.3708, 47.1561)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65B8 #B8822F
analogous
#2FAAB8 #2F65B8 #3D2FB8
triadic
#2F65B8 #B82F65 #65B82F
tetradic
#2F65B8 #B82FAA #B8822F #2FB83D
square
#2F65B8 #B82FAA #B8822F #2FB83D
split-complementary
#2F65B8 #B83D2F #AAB82F
monochromatic
#162F57 #234A87 #2F65B8 #5284D3 #82A7DF

Accessibility & contrast

On white

5.72
#2F65B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F65B8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65B8#FFFFFF#000000##FFFFFF
##2F65B81.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBB
Deuteranopia (green-blind)
#1E60B6
Tritanopia (blue-blind)
#007985
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f65b8;
/* rgb */ color: rgb(47, 101, 184);
/* oklch */ color: oklch(51.5% 0.143 258.9);
Tailwind
colors: {
  custom: {
    50: '#7a90ce',
    500: '#2f65b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f65b8;
$custom-light: #7a90ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65b8",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 184
  },
  "hsl": {
    "h": 216.35,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.1432,
    "h": 258.9
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#2F65B8
secondary
#C8AA7B
accent
#A545E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F65B8

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

Preview Lab → · Contrast checker → · Palette generator →

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