#2B4CC2#2B4CC2

#2B4CC2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.188 H 266.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2B4CC2
RGBrgb(43, 76, 194)
HSLhsl(227, 64%, 46%)
HSVhsv(227, 78%, 76%)
CMYKcmyk(77.8%, 60.8%, 0%, 23.9%)
CIE-LABlab(37.07, 30.93, -65.01)
CIE-LCHlch(37.07, 71.99, 295.44°)
OKLaboklab(46.93% -0.0107 -0.1879)
OKLCHoklch(46.93% 0.188 266.7)
XYZxyz(13.3149, 9.5760, 52.1751)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CC2 #C2A12B
analogous
#2B98C2 #2B4CC2 #552BC2
triadic
#2B4CC2 #C22B4C #4CC22B
tetradic
#2B4CC2 #C22B98 #C2A12B #2BC255
square
#2B4CC2 #C22B98 #C2A12B #2BC255
split-complementary
#2B4CC2 #C2552B #98C22B
monochromatic
#15255E #203890 #2B4CC2 #526FD9 #8499E4

Accessibility & contrast

On white

7.20
#2B4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2B4CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CC2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CC2#FFFFFF#000000##FFFFFF
##2B4CC21.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b4cc2;
/* rgb */ color: rgb(43, 76, 194);
/* oklch */ color: oklch(46.9% 0.188 266.7);
Tailwind
colors: {
  custom: {
    50: '#7c7dd5',
    500: '#2b4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cc2;
$custom-light: #7c7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cc2",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 226.887,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46926,
    "c": 0.18823,
    "h": 266.7
  },
  "luminance": 0.09578
}

Semantic roles & 50–950 ramp

primary
#2B4CC2
secondary
#CDBB7C
accent
#C341E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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