#2B4BC0#2B4BC0

#2B4BC0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.187 H 266.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2B4BC0
RGBrgb(43, 75, 192)
HSLhsl(227, 63%, 46%)
HSVhsv(227, 78%, 75%)
CMYKcmyk(77.6%, 60.9%, 0%, 24.7%)
CIE-LABlab(36.65, 30.83, -64.52)
CIE-LCHlch(36.65, 71.51, 295.54°)
OKLaboklab(46.56% -0.0101 -0.1865)
OKLCHoklch(46.56% 0.187 266.9)
XYZxyz(13.0234, 9.3500, 50.9773)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BC0 #C0A02B
analogous
#2B95C0 #2B4BC0 #552BC0
triadic
#2B4BC0 #C02B4B #4BC02B
tetradic
#2B4BC0 #C02B95 #C0A02B #2BC055
square
#2B4BC0 #C02B95 #C0A02B #2BC055
split-complementary
#2B4BC0 #C0552B #95C02B
monochromatic
#15245C #20378E #2B4BC0 #506DD8 #8297E3

Accessibility & contrast

On white

7.32
#2B4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2B4BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BC0
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BC0#FFFFFF#000000##FFFFFF
##2B4BC01.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4bc0;
/* rgb */ color: rgb(43, 75, 192);
/* oklch */ color: oklch(46.6% 0.187 266.9);
Tailwind
colors: {
  custom: {
    50: '#7c7dd4',
    500: '#2b4bc0',
    950: '#000000',
  },
}
SCSS
$custom: #2b4bc0;
$custom-light: #7c7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4bc0",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 227.114,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.1868,
    "h": 266.9
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#2B4BC0
secondary
#CCBB7B
accent
#C341E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B4BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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