#2F4BB9#2F4BB9

#2F4BB9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.176 H 267.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2F4BB9
RGBrgb(47, 75, 185)
HSLhsl(228, 59%, 45%)
HSVhsv(228, 75%, 73%)
CMYKcmyk(74.6%, 59.5%, 0%, 27.5%)
CIE-LABlab(36.25, 28.67, -61.06)
CIE-LCHlch(36.25, 67.46, 295.15°)
OKLaboklab(46.13% -0.0067 -0.1763)
OKLCHoklch(46.13% 0.176 267.8)
XYZxyz(12.4423, 9.1379, 46.9976)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4BB9 #B99D2F
analogous
#2F90B9 #2F4BB9 #582FB9
triadic
#2F4BB9 #B92F4B #4BB92F
tetradic
#2F4BB9 #B92F90 #B99D2F #2FB958
square
#2F4BB9 #B92F90 #B99D2F #2FB958
split-complementary
#2F4BB9 #B9582F #90B92F
monochromatic
#162357 #233788 #2F4BB9 #526CD3 #8396DF

Accessibility & contrast

On white

7.43
#2F4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2F4BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4BB9
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4BB9#FFFFFF#000000##FFFFFF
##2F4BB91.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f4bb9;
/* rgb */ color: rgb(47, 75, 185);
/* oklch */ color: oklch(46.1% 0.176 267.8);
Tailwind
colors: {
  custom: {
    50: '#7c7dcf',
    500: '#2f4bb9',
    950: '#000000',
  },
}
SCSS
$custom: #2f4bb9;
$custom-light: #7c7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4bb9",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 227.826,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46133,
    "c": 0.17643,
    "h": 267.8
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#2F4BB9
secondary
#C9B97B
accent
#C345E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2F4BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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