#2B4EB9#2B4EB9

#2B4EB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.174 H 266.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2B4EB9
RGBrgb(43, 78, 185)
HSLhsl(225, 62%, 45%)
HSVhsv(225, 77%, 73%)
CMYKcmyk(76.8%, 57.8%, 0%, 27.5%)
CIE-LABlab(36.86, 26.24, -60.07)
CIE-LCHlch(36.86, 65.55, 293.60°)
OKLaboklab(46.54% -0.0122 -0.1734)
OKLCHoklch(46.54% 0.174 266)
XYZxyz(12.4745, 9.4638, 47.0588)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EB9 #B9962B
analogous
#2B95B9 #2B4EB9 #4F2BB9
triadic
#2B4EB9 #B92B4E #4EB92B
tetradic
#2B4EB9 #B92B95 #B9962B #2BB94F
square
#2B4EB9 #B92B95 #B9962B #2BB94F
split-complementary
#2B4EB9 #B94F2B #95B92B
monochromatic
#142456 #1F3987 #2B4EB9 #4C6ED5 #7E96E1

Accessibility & contrast

On white

7.26
#2B4EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2B4EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EB9
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EB9#FFFFFF#000000##FFFFFF
##2B4EB91.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b4eb9;
/* rgb */ color: rgb(43, 78, 185);
/* oklch */ color: oklch(46.5% 0.174 266.0);
Tailwind
colors: {
  custom: {
    50: '#7a7fcf',
    500: '#2b4eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2b4eb9;
$custom-light: #7a7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4eb9",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 225.211,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46544,
    "c": 0.17385,
    "h": 266
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#2B4EB9
secondary
#C9B576
accent
#BD42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2B4EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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