#2F49B3#2F49B3

#2F49B3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.171 H 268.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2F49B3
RGBrgb(47, 73, 179)
HSLhsl(228, 58%, 44%)
HSVhsv(228, 74%, 70%)
CMYKcmyk(73.7%, 59.2%, 0%, 29.8%)
CIE-LABlab(35.25, 27.75, -59.15)
CIE-LCHlch(35.25, 65.34, 295.13°)
OKLaboklab(45.24% -0.0054 -0.1707)
OKLCHoklch(45.24% 0.171 268.2)
XYZxyz(11.6887, 8.6229, 43.6874)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49B3 #B3992F
analogous
#2F8BB3 #2F49B3 #572FB3
triadic
#2F49B3 #B32F49 #49B32F
tetradic
#2F49B3 #B32F8B #B3992F #2FB357
square
#2F49B3 #B32F8B #B3992F #2FB357
split-complementary
#2F49B3 #B3572F #8BB32F
monochromatic
#162152 #223583 #2F49B3 #4F68D1 #7F92DD

Accessibility & contrast

On white

7.71
#2F49B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2F49B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F49B3
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49B3#FFFFFF#000000##FFFFFF
##2F49B31.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f49b3;
/* rgb */ color: rgb(47, 73, 179);
/* oklch */ color: oklch(45.2% 0.171 268.2);
Tailwind
colors: {
  custom: {
    50: '#7a7bcb',
    500: '#2f49b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f49b3;
$custom-light: #7a7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49b3",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 179
  },
  "hsl": {
    "h": 228.182,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.17081,
    "h": 268.2
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#2F49B3
secondary
#C6B778
accent
#C346E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2F49B3

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

Preview Lab → · Contrast checker → · Palette generator →

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