#2F4BB0#2F4BB0

#2F4BB0 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.164 H 267.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2F4BB0
RGBrgb(47, 75, 176)
HSLhsl(227, 58%, 44%)
HSVhsv(227, 73%, 69%)
CMYKcmyk(73.3%, 57.4%, 0%, 31%)
CIE-LABlab(35.54, 25.31, -56.91)
CIE-LCHlch(35.54, 62.28, 293.98°)
OKLaboklab(45.38% -0.007 -0.1641)
OKLCHoklch(45.38% 0.164 267.6)
XYZxyz(11.5221, 8.7699, 42.1514)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4BB0 #B0942F
analogous
#2F8BB0 #2F4BB0 #532FB0
triadic
#2F4BB0 #B02F4B #4BB02F
tetradic
#2F4BB0 #B02F8B #B0942F #2FB053
square
#2F4BB0 #B02F8B #B0942F #2FB053
split-complementary
#2F4BB0 #B0532F #8BB02F
monochromatic
#15224F #223680 #2F4BB0 #4D69CF #7D92DC

Accessibility & contrast

On white

7.62
#2F4BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2F4BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4BB0
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4BB0#FFFFFF#000000##FFFFFF
##2F4BB01.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f4bb0;
/* rgb */ color: rgb(47, 75, 176);
/* oklch */ color: oklch(45.4% 0.164 267.6);
Tailwind
colors: {
  custom: {
    50: '#797cc8',
    500: '#2f4bb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f4bb0;
$custom-light: #797cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4bb0",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 226.977,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45379,
    "c": 0.16424,
    "h": 267.6
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#2F4BB0
secondary
#C5B476
accent
#C047E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2F4BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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