#2F48B0#2F48B0

#2F48B0 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.168 H 268.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2F48B0
RGBrgb(47, 72, 176)
HSLhsl(228, 58%, 44%)
HSVhsv(228, 73%, 69%)
CMYKcmyk(73.3%, 59.1%, 0%, 31%)
CIE-LABlab(34.75, 27.29, -58.19)
CIE-LCHlch(34.75, 64.27, 295.13°)
OKLaboklab(44.79% -0.0047 -0.1679)
OKLCHoklch(44.79% 0.168 268.4)
XYZxyz(11.3234, 8.3725, 42.0852)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F48B0 #B0972F
analogous
#2F88B0 #2F48B0 #562FB0
triadic
#2F48B0 #B02F48 #48B02F
tetradic
#2F48B0 #B02F88 #B0972F #2FB056
square
#2F48B0 #B02F88 #B0972F #2FB056
split-complementary
#2F48B0 #B0562F #88B02F
monochromatic
#15204F #223480 #2F48B0 #4D66CF #7D90DC

Accessibility & contrast

On white

7.85
#2F48B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2F48B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F48B0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F48B0#FFFFFF#000000##FFFFFF
##2F48B01.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f48b0;
/* rgb */ color: rgb(47, 72, 176);
/* oklch */ color: oklch(44.8% 0.168 268.4);
Tailwind
colors: {
  custom: {
    50: '#7a7ac8',
    500: '#2f48b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f48b0;
$custom-light: #7a7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f48b0",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 176
  },
  "hsl": {
    "h": 228.372,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44788,
    "c": 0.16798,
    "h": 268.4
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#2F48B0
secondary
#C5B676
accent
#C347E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2F48B0

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

Preview Lab → · Contrast checker → · Palette generator →

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