#2B4EB4#2B4EB4

#2B4EB4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.167 H 265.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2B4EB4
RGBrgb(43, 78, 180)
HSLhsl(225, 61%, 44%)
HSVhsv(225, 76%, 71%)
CMYKcmyk(76.1%, 56.7%, 0%, 29.4%)
CIE-LABlab(36.47, 24.35, -57.76)
CIE-LCHlch(36.47, 62.68, 292.86°)
OKLaboklab(46.13% -0.0125 -0.1666)
OKLCHoklch(46.13% 0.167 265.7)
XYZxyz(11.9560, 9.2563, 44.3277)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EB4 #B4912B
analogous
#2B92B4 #2B4EB4 #4D2BB4
triadic
#2B4EB4 #B42B4E #4EB42B
tetradic
#2B4EB4 #B42B92 #B4912B #2BB44D
square
#2B4EB4 #B42B92 #B4912B #2BB44D
split-complementary
#2B4EB4 #B44D2B #92B42B
monochromatic
#132351 #1F3983 #2B4EB4 #496CD3 #7A94DF

Accessibility & contrast

On white

7.36
#2B4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2B4EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EB4
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EB4#FFFFFF#000000##FFFFFF
##2B4EB41.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4eb4;
/* rgb */ color: rgb(43, 78, 180);
/* oklch */ color: oklch(46.1% 0.167 265.7);
Tailwind
colors: {
  custom: {
    50: '#797fcb',
    500: '#2b4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4eb4;
$custom-light: #797fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4eb4",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 224.672,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.16709,
    "h": 265.7
  },
  "luminance": 0.09258
}

Semantic roles & 50–950 ramp

primary
#2B4EB4
secondary
#C7B273
accent
#BB43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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