#2F49C9#2F49C9

#2F49C9 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.200 H 268.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2F49C9
RGBrgb(47, 73, 201)
HSLhsl(230, 62%, 49%)
HSVhsv(230, 77%, 79%)
CMYKcmyk(76.6%, 63.7%, 0%, 21.2%)
CIE-LABlab(37.09, 35.82, -69.05)
CIE-LCHlch(37.09, 77.79, 297.42°)
OKLaboklab(47.17% -0.0056 -0.1997)
OKLCHoklch(47.17% 0.2 268.4)
XYZxyz(14.0938, 9.5849, 56.3543)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49C9 #C9AF2F
analogous
#2F96C9 #2F49C9 #622FC9
triadic
#2F49C9 #C92F49 #49C92F
tetradic
#2F49C9 #C92F96 #C9AF2F #2FC962
square
#2F49C9 #C92F96 #C9AF2F #2FC962
split-complementary
#2F49C9 #C9622F #96C92F
monochromatic
#182566 #233797 #2F49C9 #5C71D9 #8E9CE5

Accessibility & contrast

On white

7.20
#2F49C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2F49C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F49C9
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49C9#FFFFFF#000000##FFFFFF
##2F49C91.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f49c9;
/* rgb */ color: rgb(47, 73, 201);
/* oklch */ color: oklch(47.2% 0.200 268.4);
Tailwind
colors: {
  custom: {
    50: '#7f7bda',
    500: '#2f49c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f49c9;
$custom-light: #7f7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49c9",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 201
  },
  "hsl": {
    "h": 229.87,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47168,
    "c": 0.19981,
    "h": 268.4
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#2F49C9
secondary
#CFC285
accent
#CA43E5
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2F49C9

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

Preview Lab → · Contrast checker → · Palette generator →

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