#2B4CC0#2B4CC0

#2B4CC0 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.186 H 266.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2B4CC0
RGBrgb(43, 76, 192)
HSLhsl(227, 63%, 46%)
HSVhsv(227, 78%, 75%)
CMYKcmyk(77.6%, 60.4%, 0%, 24.7%)
CIE-LABlab(36.91, 30.18, -64.11)
CIE-LCHlch(36.91, 70.86, 295.21°)
OKLaboklab(46.75% -0.0107 -0.1853)
OKLCHoklch(46.75% 0.186 266.7)
XYZxyz(13.0918, 9.4868, 51.0001)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CC0 #C09F2B
analogous
#2B96C0 #2B4CC0 #542BC0
triadic
#2B4CC0 #C02B4C #4CC02B
tetradic
#2B4CC0 #C02B96 #C09F2B #2BC054
square
#2B4CC0 #C02B96 #C09F2B #2BC054
split-complementary
#2B4CC0 #C0542B #96C02B
monochromatic
#15245C #20388E #2B4CC0 #506ED8 #8298E3

Accessibility & contrast

On white

7.25
#2B4CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2B4CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CC0
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CC0#FFFFFF#000000##FFFFFF
##2B4CC01.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#0050BE
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b4cc0;
/* rgb */ color: rgb(43, 76, 192);
/* oklch */ color: oklch(46.8% 0.186 266.7);
Tailwind
colors: {
  custom: {
    50: '#7c7dd4',
    500: '#2b4cc0',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cc0;
$custom-light: #7c7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cc0",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 226.711,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46752,
    "c": 0.1856,
    "h": 266.7
  },
  "luminance": 0.09488
}

Semantic roles & 50–950 ramp

primary
#2B4CC0
secondary
#CCBA7B
accent
#C241E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B4CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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