#2B4DC2#2B4DC2

#2B4DC2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.187 H 266.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2B4DC2
RGBrgb(43, 77, 194)
HSLhsl(226, 64%, 46%)
HSVhsv(226, 78%, 76%)
CMYKcmyk(77.8%, 60.3%, 0%, 23.9%)
CIE-LABlab(37.33, 30.28, -64.59)
CIE-LCHlch(37.33, 71.33, 295.12°)
OKLaboklab(47.12% -0.0113 -0.1867)
OKLCHoklch(47.12% 0.187 266.5)
XYZxyz(13.3843, 9.7149, 52.1982)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DC2 #C2A02B
analogous
#2B99C2 #2B4DC2 #552BC2
triadic
#2B4DC2 #C22B4D #4DC22B
tetradic
#2B4DC2 #C22B99 #C2A02B #2BC255
square
#2B4DC2 #C22B99 #C2A02B #2BC255
split-complementary
#2B4DC2 #C2552B #99C22B
monochromatic
#15255E #203990 #2B4DC2 #5270D9 #8499E4

Accessibility & contrast

On white

7.14
#2B4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2B4DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DC2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DC2#FFFFFF#000000##FFFFFF
##2B4DC21.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b4dc2;
/* rgb */ color: rgb(43, 77, 194);
/* oklch */ color: oklch(47.1% 0.187 266.5);
Tailwind
colors: {
  custom: {
    50: '#7c7ed5',
    500: '#2b4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #2b4dc2;
$custom-light: #7c7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4dc2",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 226.49,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47116,
    "c": 0.18703,
    "h": 266.5
  },
  "luminance": 0.09716
}

Semantic roles & 50–950 ramp

primary
#2B4DC2
secondary
#CDBB7C
accent
#C141E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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