#2B4BBA#2B4BBA

#2B4BBA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.179 H 266.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2B4BBA
RGBrgb(43, 75, 186)
HSLhsl(227, 62%, 45%)
HSVhsv(227, 77%, 73%)
CMYKcmyk(76.9%, 59.7%, 0%, 27.1%)
CIE-LABlab(36.16, 28.59, -61.81)
CIE-LCHlch(36.16, 68.10, 294.82°)
OKLaboklab(46.04% -0.0102 -0.1786)
OKLCHoklch(46.04% 0.179 266.7)
XYZxyz(12.3722, 9.0895, 47.5473)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BBA #BA9A2B
analogous
#2B93BA #2B4BBA #522BBA
triadic
#2B4BBA #BA2B4B #4BBA2B
tetradic
#2B4BBA #BA2B93 #BA9A2B #2BBA52
square
#2B4BBA #BA2B93 #BA9A2B #2BBA52
split-complementary
#2B4BBA #BA522B #93BA2B
monochromatic
#142357 #203788 #2B4BBA #4C6BD6 #7E94E1

Accessibility & contrast

On white

7.45
#2B4BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2B4BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BBA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BBA#FFFFFF#000000##FFFFFF
##2B4BBA1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4bba;
/* rgb */ color: rgb(43, 75, 186);
/* oklch */ color: oklch(46.0% 0.179 266.7);
Tailwind
colors: {
  custom: {
    50: '#7a7cd0',
    500: '#2b4bba',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bba;
$custom-light: #7a7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bba",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 226.573,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46041,
    "c": 0.17886,
    "h": 266.7
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#2B4BBA
secondary
#CAB777
accent
#C142E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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