#2F48C9#2F48C9

#2F48C9 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.0% C 0.201 H 268.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2F48C9
RGBrgb(47, 72, 201)
HSLhsl(230, 62%, 49%)
HSVhsv(230, 77%, 79%)
CMYKcmyk(76.6%, 64.2%, 0%, 21.2%)
CIE-LABlab(36.85, 36.46, -69.44)
CIE-LCHlch(36.85, 78.43, 297.70°)
OKLaboklab(46.99% -0.005 -0.2009)
OKLCHoklch(46.99% 0.201 268.6)
XYZxyz(14.0286, 9.4546, 56.3326)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F48C9 #C9B02F
analogous
#2F95C9 #2F48C9 #632FC9
triadic
#2F48C9 #C92F48 #48C92F
tetradic
#2F48C9 #C92F95 #C9B02F #2FC963
square
#2F48C9 #C92F95 #C9B02F #2FC963
split-complementary
#2F48C9 #C9632F #95C92F
monochromatic
#182466 #233697 #2F48C9 #5C70D9 #8E9CE5

Accessibility & contrast

On white

7.26
#2F48C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2F48C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F48C9
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F48C9#FFFFFF#000000##FFFFFF
##2F48C91.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f48c9;
/* rgb */ color: rgb(47, 72, 201);
/* oklch */ color: oklch(47.0% 0.201 268.6);
Tailwind
colors: {
  custom: {
    50: '#807bda',
    500: '#2f48c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f48c9;
$custom-light: #807bda;
$custom-dark: #000000;
JSON
{
  "hex": "#2f48c9",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 201
  },
  "hsl": {
    "h": 230.26,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4699,
    "c": 0.20096,
    "h": 268.6
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#2F48C9
secondary
#CFC385
accent
#CB43E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2F48C9

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

Preview Lab → · Contrast checker → · Palette generator →

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