#2F4FB0#2F4FB0

#2F4FB0 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.159 H 266.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2F4FB0
RGBrgb(47, 79, 176)
HSLhsl(225, 58%, 44%)
HSVhsv(225, 73%, 69%)
CMYKcmyk(73.3%, 55.1%, 0%, 31%)
CIE-LABlab(36.61, 22.67, -55.16)
CIE-LCHlch(36.61, 59.64, 292.34°)
OKLaboklab(46.19% -0.0101 -0.1589)
OKLCHoklch(46.19% 0.159 266.4)
XYZxyz(11.8020, 9.3296, 42.2447)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4FB0 #B0902F
analogous
#2F8FB0 #2F4FB0 #4F2FB0
triadic
#2F4FB0 #B02F4F #4FB02F
tetradic
#2F4FB0 #B02F8F #B0902F #2FB04F
square
#2F4FB0 #B02F8F #B0902F #2FB04F
split-complementary
#2F4FB0 #B04F2F #8FB02F
monochromatic
#15244F #223980 #2F4FB0 #4D6DCF #7D95DC

Accessibility & contrast

On white

7.33
#2F4FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2F4FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4FB0
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4FB0#FFFFFF#000000##FFFFFF
##2F4FB01.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f4fb0;
/* rgb */ color: rgb(47, 79, 176);
/* oklch */ color: oklch(46.2% 0.159 266.4);
Tailwind
colors: {
  custom: {
    50: '#797fc8',
    500: '#2f4fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f4fb0;
$custom-light: #797fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4fb0",
  "rgb": {
    "r": 47,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 225.116,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46186,
    "c": 0.15922,
    "h": 266.4
  },
  "luminance": 0.09331
}

Semantic roles & 50–950 ramp

primary
#2F4FB0
secondary
#C5B176
accent
#BB47E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F4FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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