#2B4FA2#2B4FA2

#2B4FA2 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.141 H 264.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2B4FA2
RGBrgb(43, 79, 162)
HSLhsl(222, 58%, 40%)
HSVhsv(222, 73%, 64%)
CMYKcmyk(73.5%, 51.2%, 0%, 36.5%)
CIE-LABlab(35.43, 16.80, -48.75)
CIE-LCHlch(35.43, 51.56, 289.02°)
OKLaboklab(44.92% -0.0148 -0.1401)
OKLCHoklch(44.92% 0.141 264)
XYZxyz(10.3115, 8.7131, 35.3138)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FA2 #A27E2B
analogous
#2B8AA2 #2B4FA2 #432BA2
triadic
#2B4FA2 #A22B4F #4FA22B
tetradic
#2B4FA2 #A22B8A #A27E2B #2BA243
square
#2B4FA2 #A22B8A #A27E2B #2BA243
split-complementary
#2B4FA2 #A2432B #8AA22B
monochromatic
#112041 #1E3772 #2B4FA2 #3E69CC #6F8FD9

Accessibility & contrast

On white

7.66
#2B4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2B4FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FA2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FA2#FFFFFF#000000##FFFFFF
##2B4FA21.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4fa2;
/* rgb */ color: rgb(43, 79, 162);
/* oklch */ color: oklch(44.9% 0.141 264.0);
Tailwind
colors: {
  custom: {
    50: '#757fbe',
    500: '#2b4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fa2;
$custom-light: #757fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fa2",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 221.849,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44919,
    "c": 0.14088,
    "h": 264
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#2B4FA2
secondary
#C0A669
accent
#B247E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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