#2F5FB0#2F5FB0

#2F5FB0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.139 H 260.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2F5FB0
RGBrgb(47, 95, 176)
HSLhsl(218, 58%, 44%)
HSVhsv(218, 73%, 69%)
CMYKcmyk(73.3%, 46%, 0%, 31%)
CIE-LABlab(41.09, 12.18, -47.93)
CIE-LCHlch(41.09, 49.45, 284.25°)
OKLaboklab(49.6% -0.0237 -0.1373)
OKLCHoklch(49.6% 0.139 260.2)
XYZxyz(13.0981, 11.9219, 42.6767)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5FB0 #B0802F
analogous
#2F9FB0 #2F5FB0 #3F2FB0
triadic
#2F5FB0 #B02F5F #5FB02F
tetradic
#2F5FB0 #B02F9F #B0802F #2FB03F
square
#2F5FB0 #B02F9F #B0802F #2FB03F
split-complementary
#2F5FB0 #B03F2F #9FB02F
monochromatic
#152B4F #224580 #2F5FB0 #4D7DCF #7DA1DC

Accessibility & contrast

On white

6.20
#2F5FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2F5FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5FB0
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5FB0#FFFFFF#000000##FFFFFF
##2F5FB01.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B3
Deuteranopia (green-blind)
#195BAE
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f5fb0;
/* rgb */ color: rgb(47, 95, 176);
/* oklch */ color: oklch(49.6% 0.139 260.2);
Tailwind
colors: {
  custom: {
    50: '#788bc8',
    500: '#2f5fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f5fb0;
$custom-light: #788bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5fb0",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 176
  },
  "hsl": {
    "h": 217.674,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.13938,
    "h": 260.2
  },
  "luminance": 0.11923
}

Semantic roles & 50–950 ramp

primary
#2F5FB0
secondary
#C5A876
accent
#A847E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F5FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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