#2F48BC#2F48BC

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

Color values

HEX#2F48BC
RGBrgb(47, 72, 188)
HSLhsl(229, 60%, 46%)
HSVhsv(229, 75%, 74%)
CMYKcmyk(75%, 61.7%, 0%, 26.3%)
CIE-LABlab(35.73, 31.73, -63.67)
CIE-LCHlch(35.73, 71.14, 296.49°)
OKLaboklab(45.82% -0.0047 -0.184)
OKLCHoklch(45.82% 0.184 268.5)
XYZxyz(12.5636, 8.8685, 48.6169)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F48BC #BCA32F
analogous
#2F8EBC #2F48BC #5C2FBC
triadic
#2F48BC #BC2F48 #48BC2F
tetradic
#2F48BC #BC2F8E #BCA32F #2FBC5C
square
#2F48BC #BC2F8E #BCA32F #2FBC5C
split-complementary
#2F48BC #BC5C2F #8EBC2F
monochromatic
#17225A #23358B #2F48BC #546BD4 #8595E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F48BC#FFFFFF#000000##FFFFFF
##2F48BC1.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)
#005BC0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f48bc;
/* rgb */ color: rgb(47, 72, 188);
/* oklch */ color: oklch(45.8% 0.184 268.5);
Tailwind
colors: {
  custom: {
    50: '#7c7ad1',
    500: '#2f48bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f48bc;
$custom-light: #7c7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f48bc",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 229.362,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45824,
    "c": 0.18406,
    "h": 268.5
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#2F48BC
secondary
#CABC7D
accent
#C745E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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