#2B4BBE#2B4BBE

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

Color values

HEX#2B4BBE
RGBrgb(43, 75, 190)
HSLhsl(227, 63%, 46%)
HSVhsv(227, 77%, 75%)
CMYKcmyk(77.4%, 60.5%, 0%, 25.5%)
CIE-LABlab(36.48, 30.09, -63.62)
CIE-LCHlch(36.48, 70.38, 295.31°)
OKLaboklab(46.39% -0.0101 -0.1839)
OKLCHoklch(46.39% 0.184 266.9)
XYZxyz(12.8034, 9.2620, 49.8182)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BBE #BE9E2B
analogous
#2B94BE #2B4BBE #552BBE
triadic
#2B4BBE #BE2B4B #4BBE2B
tetradic
#2B4BBE #BE2B94 #BE9E2B #2BBE55
square
#2B4BBE #BE2B94 #BE9E2B #2BBE55
split-complementary
#2B4BBE #BE552B #94BE2B
monochromatic
#14245A #20378C #2B4BBE #4F6DD7 #8196E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4BBE#FFFFFF#000000##FFFFFF
##2B4BBE1.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)
#005DC2
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4bbe;
/* rgb */ color: rgb(43, 75, 190);
/* oklch */ color: oklch(46.4% 0.184 266.9);
Tailwind
colors: {
  custom: {
    50: '#7b7dd3',
    500: '#2b4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bbe;
$custom-light: #7b7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bbe",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 226.939,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46387,
    "c": 0.18417,
    "h": 266.9
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#2B4BBE
secondary
#CBB97A
accent
#C242E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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