#2B4FA6#2B4FA6

#2B4FA6 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.147 H 264.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2B4FA6
RGBrgb(43, 79, 166)
HSLhsl(222, 59%, 41%)
HSVhsv(222, 74%, 65%)
CMYKcmyk(74.1%, 52.4%, 0%, 34.9%)
CIE-LABlab(35.71, 18.34, -50.68)
CIE-LCHlch(35.71, 53.90, 289.89°)
OKLaboklab(45.22% -0.0144 -0.1458)
OKLCHoklch(45.22% 0.147 264.4)
XYZxyz(10.6727, 8.8576, 37.2162)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FA6 #A6822B
analogous
#2B8CA6 #2B4FA6 #442BA6
triadic
#2B4FA6 #A62B4F #4FA62B
tetradic
#2B4FA6 #A62B8C #A6822B #2BA644
square
#2B4FA6 #A62B8C #A6822B #2BA644
split-complementary
#2B4FA6 #A6442B #8CA62B
monochromatic
#122145 #1E3875 #2B4FA6 #416ACE #7190DA

Accessibility & contrast

On white

7.58
#2B4FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2B4FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FA6
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FA6#FFFFFF#000000##FFFFFF
##2B4FA61.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165AA9
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4fa6;
/* rgb */ color: rgb(43, 79, 166);
/* oklch */ color: oklch(45.2% 0.147 264.4);
Tailwind
colors: {
  custom: {
    50: '#757fc1',
    500: '#2b4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fa6;
$custom-light: #757fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fa6",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 222.439,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45224,
    "c": 0.14651,
    "h": 264.4
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#2B4FA6
secondary
#C1A86B
accent
#B446E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2B4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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