#2B4EB0#2B4EB0

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

Color values

HEX#2B4EB0
RGBrgb(43, 78, 176)
HSLhsl(224, 61%, 43%)
HSVhsv(224, 76%, 69%)
CMYKcmyk(75.6%, 55.7%, 0%, 31%)
CIE-LABlab(36.17, 22.83, -55.89)
CIE-LCHlch(36.17, 60.37, 292.22°)
OKLaboklab(45.8% -0.0127 -0.1611)
OKLCHoklch(45.8% 0.162 265.5)
XYZxyz(11.5544, 9.0957, 42.2126)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EB0 #B08D2B
analogous
#2B90B0 #2B4EB0 #4B2BB0
triadic
#2B4EB0 #B02B4E #4EB02B
tetradic
#2B4EB0 #B02B90 #B08D2B #2BB04B
square
#2B4EB0 #B02B90 #B08D2B #2BB04B
split-complementary
#2B4EB0 #B04B2B #90B02B
monochromatic
#13224E #1F387F #2B4EB0 #466BD2 #7892DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4EB0#FFFFFF#000000##FFFFFF
##2B4EB01.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)
#005BB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4eb0;
/* rgb */ color: rgb(43, 78, 176);
/* oklch */ color: oklch(45.8% 0.162 265.5);
Tailwind
colors: {
  custom: {
    50: '#787fc8',
    500: '#2b4eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2b4eb0;
$custom-light: #787fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4eb0",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 224.211,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45804,
    "c": 0.16163,
    "h": 265.5
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#2B4EB0
secondary
#C6AF71
accent
#BA44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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