#2F48AC#2F48AC

#2F48AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.163 H 268.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2F48AC
RGBrgb(47, 72, 172)
HSLhsl(228, 57%, 43%)
HSVhsv(228, 73%, 67%)
CMYKcmyk(72.7%, 58.1%, 0%, 32.5%)
CIE-LABlab(34.43, 25.80, -56.33)
CIE-LCHlch(34.43, 61.96, 294.61°)
OKLaboklab(44.45% -0.0048 -0.1624)
OKLCHoklch(44.45% 0.163 268.3)
XYZxyz(10.9335, 8.2165, 40.0315)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F48AC #AC932F
analogous
#2F86AC #2F48AC #542FAC
triadic
#2F48AC #AC2F48 #48AC2F
tetradic
#2F48AC #AC2F86 #AC932F #2FAC54
square
#2F48AC #AC2F86 #AC932F #2FAC54
split-complementary
#2F48AC #AC542F #86AC2F
monochromatic
#15204C #22347C #2F48AC #4B65CE #7B8EDB

Accessibility & contrast

On white

7.94
#2F48AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2F48AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F48AC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F48AC#FFFFFF#000000##FFFFFF
##2F48AC1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f48ac;
/* rgb */ color: rgb(47, 72, 172);
/* oklch */ color: oklch(44.5% 0.163 268.3);
Tailwind
colors: {
  custom: {
    50: '#797ac5',
    500: '#2f48ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f48ac;
$custom-light: #797ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f48ac",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 228,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44451,
    "c": 0.1625,
    "h": 268.3
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#2F48AC
secondary
#C3B374
accent
#C247E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2F48AC

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

Preview Lab → · Contrast checker → · Palette generator →

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