#2B4FA9#2B4FA9

#2B4FA9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.151 H 264.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2B4FA9
RGBrgb(43, 79, 169)
HSLhsl(223, 59%, 42%)
HSVhsv(223, 75%, 66%)
CMYKcmyk(74.6%, 53.3%, 0%, 33.7%)
CIE-LABlab(35.92, 19.49, -52.12)
CIE-LCHlch(35.92, 55.65, 290.50°)
OKLaboklab(45.46% -0.0141 -0.15)
OKLCHoklch(45.46% 0.151 264.6)
XYZxyz(10.9511, 8.9689, 38.6824)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FA9 #A9852B
analogous
#2B8EA9 #2B4FA9 #462BA9
triadic
#2B4FA9 #A92B4F #4FA92B
tetradic
#2B4FA9 #A92B8E #A9852B #2BA946
square
#2B4FA9 #A92B8E #A9852B #2BA946
split-complementary
#2B4FA9 #A9462B #8EA92B
monochromatic
#122147 #1F3878 #2B4FA9 #426ACF #7391DB

Accessibility & contrast

On white

7.52
#2B4FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2B4FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FA9
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FA9#FFFFFF#000000##FFFFFF
##2B4FA91.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5BAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b4fa9;
/* rgb */ color: rgb(43, 79, 169);
/* oklch */ color: oklch(45.5% 0.151 264.6);
Tailwind
colors: {
  custom: {
    50: '#767fc3',
    500: '#2b4fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fa9;
$custom-light: #767fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fa9",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 222.857,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45456,
    "c": 0.1507,
    "h": 264.6
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#2B4FA9
secondary
#C3AA6D
accent
#B645E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B4FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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