#2F4CBF#2F4CBF

#2F4CBF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.183 H 267.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2F4CBF
RGBrgb(47, 76, 191)
HSLhsl(228, 61%, 47%)
HSVhsv(228, 75%, 75%)
CMYKcmyk(75.4%, 60.2%, 0%, 25.1%)
CIE-LABlab(36.99, 30.24, -63.37)
CIE-LCHlch(36.99, 70.22, 295.51°)
OKLaboklab(46.84% -0.0073 -0.1831)
OKLCHoklch(46.84% 0.183 267.7)
XYZxyz(13.1574, 9.5334, 50.4268)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4CBF #BFA22F
analogous
#2F94BF #2F4CBF #5A2FBF
triadic
#2F4CBF #BF2F4C #4CBF2F
tetradic
#2F4CBF #BF2F94 #BFA22F #2FBF5A
square
#2F4CBF #BF2F94 #BFA22F #2FBF5A
split-complementary
#2F4CBF #BF5A2F #94BF2F
monochromatic
#17255D #23388E #2F4CBF #5670D5 #8799E1

Accessibility & contrast

On white

7.22
#2F4CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2F4CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4CBF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4CBF#FFFFFF#000000##FFFFFF
##2F4CBF1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f4cbf;
/* rgb */ color: rgb(47, 76, 191);
/* oklch */ color: oklch(46.8% 0.183 267.7);
Tailwind
colors: {
  custom: {
    50: '#7d7dd3',
    500: '#2f4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #2f4cbf;
$custom-light: #7d7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4cbf",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 227.917,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46837,
    "c": 0.18322,
    "h": 267.7
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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