#2F49B1#2F49B1

#2F49B1 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.168 H 268.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2F49B1
RGBrgb(47, 73, 177)
HSLhsl(228, 58%, 44%)
HSVhsv(228, 73%, 69%)
CMYKcmyk(73.4%, 58.8%, 0%, 30.6%)
CIE-LABlab(35.09, 27.01, -58.23)
CIE-LCHlch(35.09, 64.19, 294.88°)
OKLaboklab(45.07% -0.0054 -0.168)
OKLCHoklch(45.07% 0.168 268.1)
XYZxyz(11.4879, 8.5425, 42.6299)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49B1 #B1972F
analogous
#2F8AB1 #2F49B1 #562FB1
triadic
#2F49B1 #B12F49 #49B12F
tetradic
#2F49B1 #B12F8A #B1972F #2FB156
square
#2F49B1 #B12F8A #B1972F #2FB156
split-complementary
#2F49B1 #B1562F #8AB12F
monochromatic
#152150 #223581 #2F49B1 #4D67D0 #7E91DD

Accessibility & contrast

On white

7.75
#2F49B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2F49B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F49B1
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49B1#FFFFFF#000000##FFFFFF
##2F49B11.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f49b1;
/* rgb */ color: rgb(47, 73, 177);
/* oklch */ color: oklch(45.1% 0.168 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a7bc9',
    500: '#2f49b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f49b1;
$custom-light: #7a7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49b1",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 177
  },
  "hsl": {
    "h": 228,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45067,
    "c": 0.16809,
    "h": 268.1
  },
  "luminance": 0.08544
}

Semantic roles & 50–950 ramp

primary
#2F49B1
secondary
#C5B676
accent
#C247E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2F49B1

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

Preview Lab → · Contrast checker → · Palette generator →

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