#2F65B9#2F65B9

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

Color values

HEX#2F65B9
RGBrgb(47, 101, 185)
HSLhsl(217, 59%, 45%)
HSVhsv(217, 75%, 73%)
CMYKcmyk(74.6%, 45.4%, 0%, 27.5%)
CIE-LABlab(43.38, 11.71, -49.53)
CIE-LCHlch(43.38, 50.90, 283.30°)
OKLaboklab(51.55% -0.0274 -0.1419)
OKLCHoklch(51.55% 0.145 259.1)
XYZxyz(14.5797, 13.4129, 47.7101)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65B9 #B9832F
analogous
#2FAAB9 #2F65B9 #3E2FB9
triadic
#2F65B9 #B92F65 #65B92F
tetradic
#2F65B9 #B92FAA #B9832F #2FB93E
square
#2F65B9 #B92FAA #B9832F #2FB93E
split-complementary
#2F65B9 #B93E2F #AAB92F
monochromatic
#163057 #234A88 #2F65B9 #5285D3 #83A7DF

Accessibility & contrast

On white

5.70
#2F65B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2F65B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65B9
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65B9#FFFFFF#000000##FFFFFF
##2F65B91.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBC
Deuteranopia (green-blind)
#1C61B7
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f65b9;
/* rgb */ color: rgb(47, 101, 185);
/* oklch */ color: oklch(51.5% 0.145 259.1);
Tailwind
colors: {
  custom: {
    50: '#7a90ce',
    500: '#2f65b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f65b9;
$custom-light: #7a90ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65b9",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 185
  },
  "hsl": {
    "h": 216.522,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51546,
    "c": 0.14456,
    "h": 259.1
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#2F65B9
secondary
#C9AA7B
accent
#A545E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F65B9

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

Preview Lab → · Contrast checker → · Palette generator →

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