#2B4EC2#2B4EC2

#2B4EC2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.186 H 266.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2B4EC2
RGBrgb(43, 78, 194)
HSLhsl(226, 64%, 46%)
HSVhsv(226, 78%, 76%)
CMYKcmyk(77.8%, 59.8%, 0%, 23.9%)
CIE-LABlab(37.58, 29.63, -64.17)
CIE-LCHlch(37.58, 70.68, 294.78°)
OKLaboklab(47.31% -0.012 -0.1854)
OKLCHoklch(47.31% 0.186 266.3)
XYZxyz(13.4548, 9.8559, 52.2217)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EC2 #C29F2B
analogous
#2B9AC2 #2B4EC2 #542BC2
triadic
#2B4EC2 #C22B4E #4EC22B
tetradic
#2B4EC2 #C22B9A #C29F2B #2BC254
square
#2B4EC2 #C22B9A #C29F2B #2BC254
split-complementary
#2B4EC2 #C2542B #9AC22B
monochromatic
#15265E #203A90 #2B4EC2 #5271D9 #849AE4

Accessibility & contrast

On white

7.07
#2B4EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2B4EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EC2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EC2#FFFFFF#000000##FFFFFF
##2B4EC21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b4ec2;
/* rgb */ color: rgb(43, 78, 194);
/* oklch */ color: oklch(47.3% 0.186 266.3);
Tailwind
colors: {
  custom: {
    50: '#7c7fd5',
    500: '#2b4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ec2;
$custom-light: #7c7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ec2",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 226.093,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47307,
    "c": 0.18584,
    "h": 266.3
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#2B4EC2
secondary
#CDBA7C
accent
#C041E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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