#2B4FC3#2B4FC3

#2B4FC3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.186 H 266.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2B4FC3
RGBrgb(43, 79, 195)
HSLhsl(226, 64%, 47%)
HSVhsv(226, 78%, 76%)
CMYKcmyk(77.9%, 59.5%, 0%, 23.5%)
CIE-LABlab(37.92, 29.35, -64.20)
CIE-LCHlch(37.92, 70.59, 294.57°)
OKLaboklab(47.59% -0.0126 -0.1855)
OKLCHoklch(47.59% 0.186 266.1)
XYZxyz(13.6391, 10.0441, 52.8391)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FC3 #C39F2B
analogous
#2B9BC3 #2B4FC3 #532BC3
triadic
#2B4FC3 #C32B4F #4FC32B
tetradic
#2B4FC3 #C32B9B #C39F2B #2BC353
square
#2B4FC3 #C32B9B #C39F2B #2BC353
split-complementary
#2B4FC3 #C3532B #9BC32B
monochromatic
#15265F #203B91 #2B4FC3 #5272D9 #849BE4

Accessibility & contrast

On white

6.98
#2B4FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2B4FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B4FC3
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FC3#FFFFFF#000000##FFFFFF
##2B4FC31.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b4fc3;
/* rgb */ color: rgb(43, 79, 195);
/* oklch */ color: oklch(47.6% 0.186 266.1);
Tailwind
colors: {
  custom: {
    50: '#7c7fd6',
    500: '#2b4fc3',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fc3;
$custom-light: #7c7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fc3",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 225.789,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.18595,
    "h": 266.1
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#2B4FC3
secondary
#CDBA7D
accent
#C041E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B4FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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