#2F48FE#2F48FE

#2F48FE is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.1% C 0.265 H 268.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2F48FE
RGBrgb(47, 72, 254)
HSLhsl(233, 99%, 59%)
HSVhsv(233, 81%, 100%)
CMYKcmyk(81.5%, 71.7%, 0%, 0.4%)
CIE-LABlab(41.83, 54.77, -91.41)
CIE-LCHlch(41.83, 106.56, 300.93°)
OKLaboklab(52.11% -0.0093 -0.2649)
OKLCHoklch(52.11% 0.265 268)
XYZxyz(21.3729, 12.3922, 95.0122)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F48FE #FEE52F
analogous
#2FAFFE #2F48FE #7E2FFE
triadic
#2F48FE #FE2F48 #48FE2F
tetradic
#2F48FE #FE2FAF #FEE52F #2FFE7E
square
#2F48FE #FE2FAF #FEE52F #2FFE7E
split-complementary
#2F48FE #FE7E2F #AFFE2F
monochromatic
#0116B2 #011EEF #2F48FE #6C7EFE #A9B3FF

Accessibility & contrast

On white

6.04
#2F48FE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2F48FE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F48FE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F48FE#FFFFFF#000000##FFFFFF
##2F48FE1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DFF
Deuteranopia (green-blind)
#0058FB
Tritanopia (blue-blind)
#007D9F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f48fe;
/* rgb */ color: rgb(47, 72, 254);
/* oklch */ color: oklch(52.1% 0.265 268.0);
Tailwind
colors: {
  custom: {
    50: '#8c7cff',
    500: '#2f48fe',
    950: '#000000',
  },
}
SCSS
$custom: #2f48fe;
$custom-light: #8c7cff;
$custom-dark: #000000;
JSON
{
  "hex": "#2f48fe",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 254
  },
  "hsl": {
    "h": 232.754,
    "s": 99.043,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52108,
    "c": 0.26509,
    "h": 268
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#2F48FE
secondary
#EDE39C
accent
#E529FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0F0918
muted
#7E7B86

Preview Lab

Preview with #2F48FE

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

Preview Lab → · Contrast checker → · Palette generator →

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