#2F4BBC#2F4BBC

#2F4BBC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.180 H 267.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2F4BBC
RGBrgb(47, 75, 188)
HSLhsl(228, 60%, 46%)
HSVhsv(228, 75%, 74%)
CMYKcmyk(75%, 60.1%, 0%, 26.3%)
CIE-LABlab(36.49, 29.78, -62.43)
CIE-LCHlch(36.49, 69.17, 295.50°)
OKLaboklab(46.39% -0.0067 -0.1803)
OKLCHoklch(46.39% 0.18 267.9)
XYZxyz(12.7623, 9.2659, 48.6831)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4BBC #BCA02F
analogous
#2F91BC #2F4BBC #592FBC
triadic
#2F4BBC #BC2F4B #4BBC2F
tetradic
#2F4BBC #BC2F91 #BCA02F #2FBC59
square
#2F4BBC #BC2F91 #BCA02F #2FBC59
split-complementary
#2F4BBC #BC592F #91BC2F
monochromatic
#17245A #23378B #2F4BBC #546DD4 #8597E0

Accessibility & contrast

On white

7.36
#2F4BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2F4BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4BBC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4BBC#FFFFFF#000000##FFFFFF
##2F4BBC1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f4bbc;
/* rgb */ color: rgb(47, 75, 188);
/* oklch */ color: oklch(46.4% 0.180 267.9);
Tailwind
colors: {
  custom: {
    50: '#7c7dd1',
    500: '#2f4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #2f4bbc;
$custom-light: #7c7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4bbc",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 228.085,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.18043,
    "h": 267.9
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#2F4BBC
secondary
#CABB7D
accent
#C445E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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