#2B4FA3#2B4FA3

#2B4FA3 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.142 H 264.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2B4FA3
RGBrgb(43, 79, 163)
HSLhsl(222, 58%, 40%)
HSVhsv(222, 74%, 64%)
CMYKcmyk(73.6%, 51.5%, 0%, 36.1%)
CIE-LABlab(35.50, 17.19, -49.23)
CIE-LCHlch(35.50, 52.15, 289.25°)
OKLaboklab(44.99% -0.0147 -0.1415)
OKLCHoklch(44.99% 0.142 264.1)
XYZxyz(10.4008, 8.7488, 35.7838)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FA3 #A37F2B
analogous
#2B8BA3 #2B4FA3 #432BA3
triadic
#2B4FA3 #A32B4F #4FA32B
tetradic
#2B4FA3 #A32B8B #A37F2B #2BA343
square
#2B4FA3 #A32B8B #A37F2B #2BA343
split-complementary
#2B4FA3 #A3432B #8BA32B
monochromatic
#112042 #1E3873 #2B4FA3 #3F69CC #6F8FD9

Accessibility & contrast

On white

7.64
#2B4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2B4FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FA3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FA3#FFFFFF#000000##FFFFFF
##2B4FA31.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4fa3;
/* rgb */ color: rgb(43, 79, 163);
/* oklch */ color: oklch(45.0% 0.142 264.1);
Tailwind
colors: {
  custom: {
    50: '#757fbf',
    500: '#2b4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fa3;
$custom-light: #757fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fa3",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 222,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44994,
    "c": 0.14229,
    "h": 264.1
  },
  "luminance": 0.0875
}

Semantic roles & 50–950 ramp

primary
#2B4FA3
secondary
#C0A66A
accent
#B346E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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