#2F65BA#2F65BA

#2F65BA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.6% C 0.146 H 259.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2F65BA
RGBrgb(47, 101, 186)
HSLhsl(217, 60%, 46%)
HSVhsv(217, 75%, 73%)
CMYKcmyk(74.7%, 45.7%, 0%, 27.1%)
CIE-LABlab(43.44, 12.09, -50.01)
CIE-LCHlch(43.44, 51.45, 283.59°)
OKLaboklab(51.61% -0.0272 -0.1434)
OKLCHoklch(51.61% 0.146 259.2)
XYZxyz(14.6857, 13.4552, 48.2680)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65BA #BA842F
analogous
#2FAABA #2F65BA #3F2FBA
triadic
#2F65BA #BA2F65 #65BA2F
tetradic
#2F65BA #BA2FAA #BA842F #2FBA3F
square
#2F65BA #BA2FAA #BA842F #2FBA3F
split-complementary
#2F65BA #BA3F2F #AABA2F
monochromatic
#163058 #234A89 #2F65BA #5385D3 #84A7E0

Accessibility & contrast

On white

5.69
#2F65BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2F65BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65BA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65BA#FFFFFF#000000##FFFFFF
##2F65BA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396DBD
Deuteranopia (green-blind)
#1A61B8
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f65ba;
/* rgb */ color: rgb(47, 101, 186);
/* oklch */ color: oklch(51.6% 0.146 259.2);
Tailwind
colors: {
  custom: {
    50: '#7a90cf',
    500: '#2f65ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f65ba;
$custom-light: #7a90cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65ba",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 186
  },
  "hsl": {
    "h": 216.691,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51614,
    "c": 0.14592,
    "h": 259.2
  },
  "luminance": 0.13457
}

Semantic roles & 50–950 ramp

primary
#2F65BA
secondary
#C9AB7C
accent
#A645E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F65BA

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

Preview Lab → · Contrast checker → · Palette generator →

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