#2B4CC3#2B4CC3

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

Color values

HEX#2B4CC3
RGBrgb(43, 76, 195)
HSLhsl(227, 64%, 47%)
HSVhsv(227, 78%, 76%)
CMYKcmyk(77.9%, 61%, 0%, 23.5%)
CIE-LABlab(37.15, 31.30, -65.45)
CIE-LCHlch(37.15, 72.55, 295.56°)
OKLaboklab(47.01% -0.0107 -0.1892)
OKLCHoklch(47.01% 0.19 266.8)
XYZxyz(13.4276, 9.6211, 52.7685)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CC3 #C3A22B
analogous
#2B98C3 #2B4CC3 #562BC3
triadic
#2B4CC3 #C32B4C #4CC32B
tetradic
#2B4CC3 #C32B98 #C3A22B #2BC356
square
#2B4CC3 #C32B98 #C3A22B #2BC356
split-complementary
#2B4CC3 #C3562B #98C32B
monochromatic
#15255F #203891 #2B4CC3 #5270D9 #8499E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4CC3#FFFFFF#000000##FFFFFF
##2B4CC31.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b4cc3;
/* rgb */ color: rgb(43, 76, 195);
/* oklch */ color: oklch(47.0% 0.190 266.8);
Tailwind
colors: {
  custom: {
    50: '#7c7dd6',
    500: '#2b4cc3',
    950: '#000000',
  },
}
SCSS
$custom: #2b4cc3;
$custom-light: #7c7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4cc3",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 226.974,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47014,
    "c": 0.18954,
    "h": 266.8
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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