#2F48AD#2F48AD

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

Color values

HEX#2F48AD
RGBrgb(47, 72, 173)
HSLhsl(228, 57%, 43%)
HSVhsv(228, 73%, 68%)
CMYKcmyk(72.8%, 58.4%, 0%, 32.2%)
CIE-LABlab(34.51, 26.17, -56.80)
CIE-LCHlch(34.51, 62.54, 294.74°)
OKLaboklab(44.54% -0.0048 -0.1638)
OKLCHoklch(44.54% 0.164 268.3)
XYZxyz(11.0299, 8.2551, 40.5392)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F48AD #AD942F
analogous
#2F87AD #2F48AD #552FAD
triadic
#2F48AD #AD2F48 #48AD2F
tetradic
#2F48AD #AD2F87 #AD942F #2FAD55
square
#2F48AD #AD2F87 #AD942F #2FAD55
split-complementary
#2F48AD #AD552F #87AD2F
monochromatic
#15204D #22347D #2F48AD #4B65CE #7B8EDB

Accessibility & contrast

On white

7.92
#2F48AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2F48AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F48AD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F48AD#FFFFFF#000000##FFFFFF
##2F48AD1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f48ad;
/* rgb */ color: rgb(47, 72, 173);
/* oklch */ color: oklch(44.5% 0.164 268.3);
Tailwind
colors: {
  custom: {
    50: '#797ac6',
    500: '#2f48ad',
    950: '#000000',
  },
}
SCSS
$custom: #2f48ad;
$custom-light: #797ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f48ad",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 228.095,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44535,
    "c": 0.16388,
    "h": 268.3
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#2F48AD
secondary
#C4B474
accent
#C247E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2F48AD

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

Preview Lab → · Contrast checker → · Palette generator →

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