#2F48A3#2F48A3

#2F48A3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.150 H 268.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2F48A3
RGBrgb(47, 72, 163)
HSLhsl(227, 55%, 41%)
HSVhsv(227, 71%, 64%)
CMYKcmyk(71.2%, 55.8%, 0%, 36.1%)
CIE-LABlab(33.74, 22.43, -52.07)
CIE-LCHlch(33.74, 56.70, 293.30°)
OKLaboklab(43.71% -0.0052 -0.1499)
OKLCHoklch(43.71% 0.15 268)
XYZxyz(10.0982, 7.8824, 35.6325)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F48A3 #A38A2F
analogous
#2F82A3 #2F48A3 #502FA3
triadic
#2F48A3 #A32F48 #48A32F
tetradic
#2F48A3 #A32F82 #A38A2F #2FA350
square
#2F48A3 #A32F82 #A38A2F #2FA350
split-complementary
#2F48A3 #A3502F #82A32F
monochromatic
#141E44 #213373 #2F48A3 #4662CA #758AD7

Accessibility & contrast

On white

8.15
#2F48A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2F48A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F48A3
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F48A3#FFFFFF#000000##FFFFFF
##2F48A31.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f48a3;
/* rgb */ color: rgb(47, 72, 163);
/* oklch */ color: oklch(43.7% 0.150 268.0);
Tailwind
colors: {
  custom: {
    50: '#777abf',
    500: '#2f48a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f48a3;
$custom-light: #777abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f48a3",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 227.069,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43714,
    "c": 0.15001,
    "h": 268
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#2F48A3
secondary
#BFAE6F
accent
#BE49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F48A3

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

Preview Lab → · Contrast checker → · Palette generator →

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