#2F48BF#2F48BF

#2F48BF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.188 H 268.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2F48BF
RGBrgb(47, 72, 191)
HSLhsl(230, 61%, 47%)
HSVhsv(230, 75%, 75%)
CMYKcmyk(75.4%, 62.3%, 0%, 25.1%)
CIE-LABlab(35.98, 32.82, -65.02)
CIE-LCHlch(35.98, 72.84, 296.79°)
OKLaboklab(46.09% -0.0047 -0.1879)
OKLCHoklch(46.09% 0.188 268.6)
XYZxyz(12.8904, 8.9993, 50.3378)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F48BF #BFA62F
analogous
#2F90BF #2F48BF #5E2FBF
triadic
#2F48BF #BF2F48 #48BF2F
tetradic
#2F48BF #BF2F90 #BFA62F #2FBF5E
square
#2F48BF #BF2F90 #BFA62F #2FBF5E
split-complementary
#2F48BF #BF5E2F #90BF2F
monochromatic
#17235D #23358E #2F48BF #566CD5 #8797E1

Accessibility & contrast

On white

7.50
#2F48BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2F48BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F48BF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F48BF#FFFFFF#000000##FFFFFF
##2F48BF1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f48bf;
/* rgb */ color: rgb(47, 72, 191);
/* oklch */ color: oklch(46.1% 0.188 268.6);
Tailwind
colors: {
  custom: {
    50: '#7d7ad3',
    500: '#2f48bf',
    950: '#000000',
  },
}
SCSS
$custom: #2f48bf;
$custom-light: #7d7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f48bf",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 229.583,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.18801,
    "h": 268.6
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#2F48BF
secondary
#CBBE7F
accent
#C844E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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