#2B4EB6#2B4EB6

#2B4EB6 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.170 H 265.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2B4EB6
RGBrgb(43, 78, 182)
HSLhsl(225, 62%, 44%)
HSVhsv(225, 76%, 71%)
CMYKcmyk(76.4%, 57.1%, 0%, 28.6%)
CIE-LABlab(36.63, 25.11, -58.69)
CIE-LCHlch(36.63, 63.83, 293.16°)
OKLaboklab(46.29% -0.0124 -0.1693)
OKLCHoklch(46.29% 0.17 265.8)
XYZxyz(12.1612, 9.3384, 45.4085)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EB6 #B6932B
analogous
#2B94B6 #2B4EB6 #4E2BB6
triadic
#2B4EB6 #B62B4E #4EB62B
tetradic
#2B4EB6 #B62B94 #B6932B #2BB64E
square
#2B4EB6 #B62B94 #B6932B #2BB64E
split-complementary
#2B4EB6 #B64E2B #94B62B
monochromatic
#142453 #1F3984 #2B4EB6 #4A6DD4 #7B95E0

Accessibility & contrast

On white

7.32
#2B4EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4EB6
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EB6#FFFFFF#000000##FFFFFF
##2B4EB61.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4eb6;
/* rgb */ color: rgb(43, 78, 182);
/* oklch */ color: oklch(46.3% 0.170 265.8);
Tailwind
colors: {
  custom: {
    50: '#797fcd',
    500: '#2b4eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b4eb6;
$custom-light: #797fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4eb6",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 182
  },
  "hsl": {
    "h": 224.892,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.1698,
    "h": 265.8
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#2B4EB6
secondary
#C8B375
accent
#BC43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2B4EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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