#2F48AF#2F48AF

#2F48AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.167 H 268.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2F48AF
RGBrgb(47, 72, 175)
HSLhsl(228, 58%, 44%)
HSVhsv(228, 73%, 69%)
CMYKcmyk(73.1%, 58.9%, 0%, 31.4%)
CIE-LABlab(34.67, 26.92, -57.73)
CIE-LCHlch(34.67, 63.70, 295.00°)
OKLaboklab(44.7% -0.0047 -0.1665)
OKLCHoklch(44.7% 0.167 268.4)
XYZxyz(11.2248, 8.3330, 41.5660)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F48AF #AF962F
analogous
#2F88AF #2F48AF #562FAF
triadic
#2F48AF #AF2F48 #48AF2F
tetradic
#2F48AF #AF2F88 #AF962F #2FAF56
square
#2F48AF #AF2F88 #AF962F #2FAF56
split-complementary
#2F48AF #AF562F #88AF2F
monochromatic
#15204F #22347F #2F48AF #4C66CF #7C8FDC

Accessibility & contrast

On white

7.87
#2F48AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F48AF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F48AF#FFFFFF#000000##FFFFFF
##2F48AF1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f48af;
/* rgb */ color: rgb(47, 72, 175);
/* oklch */ color: oklch(44.7% 0.167 268.4);
Tailwind
colors: {
  custom: {
    50: '#797ac8',
    500: '#2f48af',
    950: '#000000',
  },
}
SCSS
$custom: #2f48af;
$custom-light: #797ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f48af",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 228.281,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44703,
    "c": 0.16661,
    "h": 268.4
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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