#2B4DBA#2B4DBA

#2B4DBA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.176 H 266.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2B4DBA
RGBrgb(43, 77, 186)
HSLhsl(226, 62%, 45%)
HSVhsv(226, 77%, 73%)
CMYKcmyk(76.9%, 58.6%, 0%, 27.1%)
CIE-LABlab(36.68, 27.28, -60.96)
CIE-LCHlch(36.68, 66.78, 294.11°)
OKLaboklab(46.43% -0.0115 -0.176)
OKLCHoklch(46.43% 0.176 266.3)
XYZxyz(12.5100, 9.3651, 47.5932)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DBA #BA982B
analogous
#2B95BA #2B4DBA #502BBA
triadic
#2B4DBA #BA2B4D #4DBA2B
tetradic
#2B4DBA #BA2B95 #BA982B #2BBA50
square
#2B4DBA #BA2B95 #BA982B #2BBA50
split-complementary
#2B4DBA #BA502B #95BA2B
monochromatic
#142457 #203888 #2B4DBA #4C6DD6 #7E96E1

Accessibility & contrast

On white

7.31
#2B4DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4DBA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DBA#FFFFFF#000000##FFFFFF
##2B4DBA1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4dba;
/* rgb */ color: rgb(43, 77, 186);
/* oklch */ color: oklch(46.4% 0.176 266.3);
Tailwind
colors: {
  custom: {
    50: '#7a7ed0',
    500: '#2b4dba',
    950: '#000000',
  },
}
SCSS
$custom: #2b4dba;
$custom-light: #7a7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4dba",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 225.734,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46431,
    "c": 0.17642,
    "h": 266.3
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#2B4DBA
secondary
#CAB677
accent
#BF42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2B4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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