#2F49B8#2F49B8

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

Color values

HEX#2F49B8
RGBrgb(47, 73, 184)
HSLhsl(229, 59%, 45%)
HSVhsv(229, 74%, 72%)
CMYKcmyk(74.5%, 60.3%, 0%, 27.8%)
CIE-LABlab(35.65, 29.60, -61.45)
CIE-LCHlch(35.65, 68.21, 295.72°)
OKLaboklab(45.66% -0.0053 -0.1774)
OKLCHoklch(45.66% 0.178 268.3)
XYZxyz(12.2036, 8.8288, 46.3991)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49B8 #B89E2F
analogous
#2F8DB8 #2F49B8 #592FB8
triadic
#2F49B8 #B82F49 #49B82F
tetradic
#2F49B8 #B82F8D #B89E2F #2FB859
square
#2F49B8 #B82F8D #B89E2F #2FB859
split-complementary
#2F49B8 #B8592F #8DB82F
monochromatic
#162257 #233687 #2F49B8 #526AD3 #8294DF

Accessibility & contrast

On white

7.59
#2F49B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2F49B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F49B8
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49B8#FFFFFF#000000##FFFFFF
##2F49B81.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f49b8;
/* rgb */ color: rgb(47, 73, 184);
/* oklch */ color: oklch(45.7% 0.178 268.3);
Tailwind
colors: {
  custom: {
    50: '#7b7bce',
    500: '#2f49b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f49b8;
$custom-light: #7b7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49b8",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 184
  },
  "hsl": {
    "h": 228.613,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45664,
    "c": 0.17753,
    "h": 268.3
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#2F49B8
secondary
#C8BA7B
accent
#C545E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2F49B8

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

Preview Lab → · Contrast checker → · Palette generator →

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