#2B4FA5#2B4FA5

#2B4FA5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.145 H 264.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2B4FA5
RGBrgb(43, 79, 165)
HSLhsl(222, 59%, 41%)
HSVhsv(222, 74%, 65%)
CMYKcmyk(73.9%, 52.1%, 0%, 35.3%)
CIE-LABlab(35.64, 17.96, -50.20)
CIE-LCHlch(35.64, 53.32, 289.68°)
OKLaboklab(45.15% -0.0145 -0.1444)
OKLCHoklch(45.15% 0.145 264.3)
XYZxyz(10.5814, 8.8210, 36.7350)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FA5 #A5812B
analogous
#2B8CA5 #2B4FA5 #442BA5
triadic
#2B4FA5 #A52B4F #4FA52B
tetradic
#2B4FA5 #A52B8C #A5812B #2BA544
square
#2B4FA5 #A52B8C #A5812B #2BA544
split-complementary
#2B4FA5 #A5442B #8CA52B
monochromatic
#122144 #1E3874 #2B4FA5 #406ACD #7190DA

Accessibility & contrast

On white

7.60
#2B4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2B4FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FA5
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FA5#FFFFFF#000000##FFFFFF
##2B4FA51.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185AA8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4fa5;
/* rgb */ color: rgb(43, 79, 165);
/* oklch */ color: oklch(45.1% 0.145 264.3);
Tailwind
colors: {
  custom: {
    50: '#757fc0',
    500: '#2b4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fa5;
$custom-light: #757fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fa5",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 222.295,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45147,
    "c": 0.14511,
    "h": 264.3
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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