#2F49B9#2F49B9

#2F49B9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.179 H 268.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2F49B9
RGBrgb(47, 73, 185)
HSLhsl(229, 59%, 45%)
HSVhsv(229, 75%, 73%)
CMYKcmyk(74.6%, 60.5%, 0%, 27.5%)
CIE-LABlab(35.73, 29.97, -61.90)
CIE-LCHlch(35.73, 68.78, 295.84°)
OKLaboklab(45.75% -0.0053 -0.1788)
OKLCHoklch(45.75% 0.179 268.3)
XYZxyz(12.3088, 8.8709, 46.9531)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49B9 #B99F2F
analogous
#2F8EB9 #2F49B9 #5A2FB9
triadic
#2F49B9 #B92F49 #49B92F
tetradic
#2F49B9 #B92F8E #B99F2F #2FB95A
square
#2F49B9 #B92F8E #B99F2F #2FB95A
split-complementary
#2F49B9 #B95A2F #8EB92F
monochromatic
#162257 #233688 #2F49B9 #526AD3 #8394DF

Accessibility & contrast

On white

7.57
#2F49B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F49B9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49B9#FFFFFF#000000##FFFFFF
##2F49B91.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f49b9;
/* rgb */ color: rgb(47, 73, 185);
/* oklch */ color: oklch(45.8% 0.179 268.3);
Tailwind
colors: {
  custom: {
    50: '#7c7bcf',
    500: '#2f49b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f49b9;
$custom-light: #7c7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49b9",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 185
  },
  "hsl": {
    "h": 228.696,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.17887,
    "h": 268.3
  },
  "luminance": 0.08872
}

Semantic roles & 50–950 ramp

primary
#2F49B9
secondary
#C9BA7B
accent
#C545E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2F49B9

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

Preview Lab → · Contrast checker → · Palette generator →

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