#2F49B2#2F49B2

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

Color values

HEX#2F49B2
RGBrgb(47, 73, 178)
HSLhsl(228, 58%, 44%)
HSVhsv(228, 74%, 70%)
CMYKcmyk(73.6%, 59%, 0%, 30.2%)
CIE-LABlab(35.17, 27.38, -58.69)
CIE-LCHlch(35.17, 64.76, 295.01°)
OKLaboklab(45.15% -0.0054 -0.1694)
OKLCHoklch(45.15% 0.169 268.2)
XYZxyz(11.5879, 8.5826, 43.1567)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49B2 #B2982F
analogous
#2F8BB2 #2F49B2 #572FB2
triadic
#2F49B2 #B22F49 #49B22F
tetradic
#2F49B2 #B22F8B #B2982F #2FB257
square
#2F49B2 #B22F8B #B2982F #2FB257
split-complementary
#2F49B2 #B2572F #8BB22F
monochromatic
#152151 #223582 #2F49B2 #4E68D0 #7E91DD

Accessibility & contrast

On white

7.73
#2F49B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F49B2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49B2#FFFFFF#000000##FFFFFF
##2F49B21.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f49b2;
/* rgb */ color: rgb(47, 73, 178);
/* oklch */ color: oklch(45.2% 0.169 268.2);
Tailwind
colors: {
  custom: {
    50: '#7a7bca',
    500: '#2f49b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f49b2;
$custom-light: #7a7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49b2",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 228.092,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45152,
    "c": 0.16945,
    "h": 268.2
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#2F49B2
secondary
#C6B677
accent
#C346E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2F49B2

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

Preview Lab → · Contrast checker → · Palette generator →

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