#2F49B7#2F49B7

#2F49B7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.176 H 268.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2F49B7
RGBrgb(47, 73, 183)
HSLhsl(229, 59%, 45%)
HSVhsv(229, 74%, 72%)
CMYKcmyk(74.3%, 60.1%, 0%, 28.2%)
CIE-LABlab(35.57, 29.23, -60.99)
CIE-LCHlch(35.57, 67.63, 295.61°)
OKLaboklab(45.58% -0.0053 -0.1761)
OKLCHoklch(45.58% 0.176 268.3)
XYZxyz(12.0991, 8.7870, 45.8490)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49B7 #B79D2F
analogous
#2F8DB7 #2F49B7 #592FB7
triadic
#2F49B7 #B72F49 #49B72F
tetradic
#2F49B7 #B72F8D #B79D2F #2FB759
square
#2F49B7 #B72F8D #B79D2F #2FB759
split-complementary
#2F49B7 #B7592F #8DB72F
monochromatic
#162256 #223686 #2F49B7 #516AD2 #8293DF

Accessibility & contrast

On white

7.62
#2F49B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2F49B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F49B7
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49B7#FFFFFF#000000##FFFFFF
##2F49B71.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f49b7;
/* rgb */ color: rgb(47, 73, 183);
/* oklch */ color: oklch(45.6% 0.176 268.3);
Tailwind
colors: {
  custom: {
    50: '#7b7bcd',
    500: '#2f49b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f49b7;
$custom-light: #7b7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49b7",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 183
  },
  "hsl": {
    "h": 228.529,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45578,
    "c": 0.17619,
    "h": 268.3
  },
  "luminance": 0.08788
}

Semantic roles & 50–950 ramp

primary
#2F49B7
secondary
#C8B97A
accent
#C445E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2F49B7

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

Preview Lab → · Contrast checker → · Palette generator →

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