#2B4FBC#2B4FBC

#2B4FBC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.177 H 265.8°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2B4FBC
RGBrgb(43, 79, 188)
HSLhsl(225, 63%, 45%)
HSVhsv(225, 77%, 74%)
CMYKcmyk(77.1%, 58%, 0%, 26.3%)
CIE-LABlab(37.36, 26.72, -61.02)
CIE-LCHlch(37.36, 66.61, 293.65°)
OKLaboklab(46.99% -0.0128 -0.1762)
OKLCHoklch(46.99% 0.177 265.8)
XYZxyz(12.8661, 9.7349, 48.7681)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FBC #BC982B
analogous
#2B98BC #2B4FBC #4F2BBC
triadic
#2B4FBC #BC2B4F #4FBC2B
tetradic
#2B4FBC #BC2B98 #BC982B #2BBC4F
square
#2B4FBC #BC2B98 #BC982B #2BBC4F
split-complementary
#2B4FBC #BC4F2B #98BC2B
monochromatic
#142558 #203A8A #2B4FBC #4E70D6 #8098E2

Accessibility & contrast

On white

7.13
#2B4FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2B4FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FBC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FBC#FFFFFF#000000##FFFFFF
##2B4FBC1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b4fbc;
/* rgb */ color: rgb(43, 79, 188);
/* oklch */ color: oklch(47.0% 0.177 265.8);
Tailwind
colors: {
  custom: {
    50: '#7b7fd1',
    500: '#2b4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fbc;
$custom-light: #7b7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fbc",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 225.103,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46993,
    "c": 0.17665,
    "h": 265.8
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#2B4FBC
secondary
#CBB678
accent
#BD42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2B4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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