#2F49BF#2F49BF

#2F49BF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.187 H 268.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2F49BF
RGBrgb(47, 73, 191)
HSLhsl(229, 61%, 47%)
HSVhsv(229, 75%, 75%)
CMYKcmyk(75.4%, 61.8%, 0%, 25.1%)
CIE-LABlab(36.23, 32.18, -64.61)
CIE-LCHlch(36.23, 72.18, 296.48°)
OKLaboklab(46.27% -0.0054 -0.1867)
OKLCHoklch(46.27% 0.187 268.4)
XYZxyz(12.9555, 9.1296, 50.3595)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49BF #BFA52F
analogous
#2F91BF #2F49BF #5D2FBF
triadic
#2F49BF #BF2F49 #49BF2F
tetradic
#2F49BF #BF2F91 #BFA52F #2FBF5D
square
#2F49BF #BF2F91 #BFA52F #2FBF5D
split-complementary
#2F49BF #BF5D2F #91BF2F
monochromatic
#17235D #23368E #2F49BF #566DD5 #8797E1

Accessibility & contrast

On white

7.43
#2F49BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2F49BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F49BF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49BF#FFFFFF#000000##FFFFFF
##2F49BF1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f49bf;
/* rgb */ color: rgb(47, 73, 191);
/* oklch */ color: oklch(46.3% 0.187 268.4);
Tailwind
colors: {
  custom: {
    50: '#7d7bd3',
    500: '#2f49bf',
    950: '#000000',
  },
}
SCSS
$custom: #2f49bf;
$custom-light: #7d7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49bf",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 229.167,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46274,
    "c": 0.18682,
    "h": 268.4
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#2F49BF
secondary
#CBBD7F
accent
#C744E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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