#2F49B0#2F49B0

#2F49B0 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.167 H 268.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2F49B0
RGBrgb(47, 73, 176)
HSLhsl(228, 58%, 44%)
HSVhsv(228, 73%, 69%)
CMYKcmyk(73.3%, 58.5%, 0%, 31%)
CIE-LABlab(35.01, 26.63, -57.77)
CIE-LCHlch(35.01, 63.61, 294.75°)
OKLaboklab(44.98% -0.0054 -0.1666)
OKLCHoklch(44.98% 0.167 268.1)
XYZxyz(11.3886, 8.5028, 42.1069)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49B0 #B0962F
analogous
#2F89B0 #2F49B0 #552FB0
triadic
#2F49B0 #B02F49 #49B02F
tetradic
#2F49B0 #B02F89 #B0962F #2FB055
square
#2F49B0 #B02F89 #B0962F #2FB055
split-complementary
#2F49B0 #B0552F #89B02F
monochromatic
#15214F #223580 #2F49B0 #4D67CF #7D90DC

Accessibility & contrast

On white

7.78
#2F49B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2F49B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F49B0
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49B0#FFFFFF#000000##FFFFFF
##2F49B01.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f49b0;
/* rgb */ color: rgb(47, 73, 176);
/* oklch */ color: oklch(45.0% 0.167 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a7bc8',
    500: '#2f49b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f49b0;
$custom-light: #7a7bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49b0",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 176
  },
  "hsl": {
    "h": 227.907,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44983,
    "c": 0.16673,
    "h": 268.1
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#2F49B0
secondary
#C5B576
accent
#C247E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2F49B0

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

Preview Lab → · Contrast checker → · Palette generator →

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