#2F4BBE#2F4BBE

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

Color values

HEX#2F4BBE
RGBrgb(47, 75, 190)
HSLhsl(228, 60%, 46%)
HSVhsv(228, 75%, 75%)
CMYKcmyk(75.3%, 60.5%, 0%, 25.5%)
CIE-LABlab(36.65, 30.52, -63.34)
CIE-LCHlch(36.65, 70.31, 295.73°)
OKLaboklab(46.56% -0.0067 -0.183)
OKLCHoklch(46.56% 0.183 267.9)
XYZxyz(12.9794, 9.3528, 49.8264)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4BBE #BEA22F
analogous
#2F93BE #2F4BBE #5B2FBE
triadic
#2F4BBE #BE2F4B #4BBE2F
tetradic
#2F4BBE #BE2F93 #BEA22F #2FBE5B
square
#2F4BBE #BE2F93 #BEA22F #2FBE5B
split-complementary
#2F4BBE #BE5B2F #93BE2F
monochromatic
#17245C #23388D #2F4BBE #556ED5 #8698E1

Accessibility & contrast

On white

7.32
#2F4BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4BBE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4BBE#FFFFFF#000000##FFFFFF
##2F4BBE1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f4bbe;
/* rgb */ color: rgb(47, 75, 190);
/* oklch */ color: oklch(46.6% 0.183 267.9);
Tailwind
colors: {
  custom: {
    50: '#7d7dd3',
    500: '#2f4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f4bbe;
$custom-light: #7d7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4bbe",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 228.252,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.18309,
    "h": 267.9
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#2F4BBE
secondary
#CBBC7E
accent
#C444E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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