#2B4DC0#2B4DC0

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

Color values

HEX#2B4DC0
RGBrgb(43, 77, 192)
HSLhsl(226, 63%, 46%)
HSVhsv(226, 78%, 75%)
CMYKcmyk(77.6%, 59.9%, 0%, 24.7%)
CIE-LABlab(37.16, 29.53, -63.69)
CIE-LCHlch(37.16, 70.20, 294.88°)
OKLaboklab(46.94% -0.0114 -0.184)
OKLCHoklch(46.94% 0.184 266.5)
XYZxyz(13.1612, 9.6256, 51.0232)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DC0 #C09E2B
analogous
#2B97C0 #2B4DC0 #542BC0
triadic
#2B4DC0 #C02B4D #4DC02B
tetradic
#2B4DC0 #C02B97 #C09E2B #2BC054
square
#2B4DC0 #C02B97 #C09E2B #2BC054
split-complementary
#2B4DC0 #C0542B #97C02B
monochromatic
#15255C #20398E #2B4DC0 #506FD8 #8298E3

Accessibility & contrast

On white

7.18
#2B4DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2B4DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DC0
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DC0#FFFFFF#000000##FFFFFF
##2B4DC01.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b4dc0;
/* rgb */ color: rgb(43, 77, 192);
/* oklch */ color: oklch(46.9% 0.184 266.5);
Tailwind
colors: {
  custom: {
    50: '#7c7ed4',
    500: '#2b4dc0',
    950: '#000000',
  },
}
SCSS
$custom: #2b4dc0;
$custom-light: #7c7ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4dc0",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 226.309,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46943,
    "c": 0.1844,
    "h": 266.5
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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