#2F48A0#2F48A0

#2F48A0 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.146 H 267.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2F48A0
RGBrgb(47, 72, 160)
HSLhsl(227, 55%, 41%)
HSVhsv(227, 71%, 63%)
CMYKcmyk(70.6%, 55%, 0%, 37.3%)
CIE-LABlab(33.51, 21.30, -50.63)
CIE-LCHlch(33.51, 54.93, 292.82°)
OKLaboklab(43.47% -0.0054 -0.1457)
OKLCHoklch(43.47% 0.146 267.9)
XYZxyz(9.8326, 7.7762, 34.2336)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F48A0 #A0872F
analogous
#2F80A0 #2F48A0 #4F2FA0
triadic
#2F48A0 #A02F48 #48A02F
tetradic
#2F48A0 #A02F80 #A0872F #2FA04F
square
#2F48A0 #A02F80 #A0872F #2FA04F
split-complementary
#2F48A0 #A04F2F #80A02F
monochromatic
#131D41 #213371 #2F48A0 #4461C8 #7389D6

Accessibility & contrast

On white

8.22
#2F48A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2F48A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F48A0
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F48A0#FFFFFF#000000##FFFFFF
##2F48A01.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f48a0;
/* rgb */ color: rgb(47, 72, 160);
/* oklch */ color: oklch(43.5% 0.146 267.9);
Tailwind
colors: {
  custom: {
    50: '#767abd',
    500: '#2f48a0',
    950: '#000000',
  },
}
SCSS
$custom: #2f48a0;
$custom-light: #767abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f48a0",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 160
  },
  "hsl": {
    "h": 226.726,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43474,
    "c": 0.14578,
    "h": 267.9
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#2F48A0
secondary
#BEAC6D
accent
#BD4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F48A0

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

Preview Lab → · Contrast checker → · Palette generator →

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