#2F4BBF#2F4BBF

#2F4BBF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.184 H 267.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2F4BBF
RGBrgb(47, 75, 191)
HSLhsl(228, 61%, 47%)
HSVhsv(228, 75%, 75%)
CMYKcmyk(75.4%, 60.7%, 0%, 25.1%)
CIE-LABlab(36.74, 30.89, -63.79)
CIE-LCHlch(36.74, 70.87, 295.84°)
OKLaboklab(46.65% -0.0067 -0.1843)
OKLCHoklch(46.65% 0.184 267.9)
XYZxyz(13.0891, 9.3966, 50.4040)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4BBF #BFA32F
analogous
#2F93BF #2F4BBF #5B2FBF
triadic
#2F4BBF #BF2F4B #4BBF2F
tetradic
#2F4BBF #BF2F93 #BFA32F #2FBF5B
square
#2F4BBF #BF2F93 #BFA32F #2FBF5B
split-complementary
#2F4BBF #BF5B2F #93BF2F
monochromatic
#17245D #23388E #2F4BBF #566FD5 #8799E1

Accessibility & contrast

On white

7.29
#2F4BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2F4BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4BBF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4BBF#FFFFFF#000000##FFFFFF
##2F4BBF1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f4bbf;
/* rgb */ color: rgb(47, 75, 191);
/* oklch */ color: oklch(46.6% 0.184 267.9);
Tailwind
colors: {
  custom: {
    50: '#7d7dd3',
    500: '#2f4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #2f4bbf;
$custom-light: #7d7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4bbf",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 228.333,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46648,
    "c": 0.18442,
    "h": 267.9
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#2F4BBF
secondary
#CBBC7F
accent
#C544E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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