#2B4FA0#2B4FA0

#2B4FA0 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.138 H 263.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2B4FA0
RGBrgb(43, 79, 160)
HSLhsl(222, 58%, 40%)
HSVhsv(222, 73%, 63%)
CMYKcmyk(73.1%, 50.6%, 0%, 37.3%)
CIE-LABlab(35.29, 16.04, -47.77)
CIE-LCHlch(35.29, 50.39, 288.56°)
OKLaboklab(44.77% -0.0151 -0.1372)
OKLCHoklch(44.77% 0.138 263.7)
XYZxyz(10.1352, 8.6425, 34.3849)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4FA0 #A07C2B
analogous
#2B8AA0 #2B4FA0 #412BA0
triadic
#2B4FA0 #A02B4F #4FA02B
tetradic
#2B4FA0 #A02B8A #A07C2B #2BA041
square
#2B4FA0 #A02B8A #A07C2B #2BA041
split-complementary
#2B4FA0 #A0412B #8AA02B
monochromatic
#111F40 #1E3770 #2B4FA0 #3D69CB #6E8ED8

Accessibility & contrast

On white

7.70
#2B4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2B4FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4FA0
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4FA0#FFFFFF#000000##FFFFFF
##2B4FA01.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4fa0;
/* rgb */ color: rgb(43, 79, 160);
/* oklch */ color: oklch(44.8% 0.138 263.7);
Tailwind
colors: {
  custom: {
    50: '#747fbd',
    500: '#2b4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2b4fa0;
$custom-light: #747fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4fa0",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 221.538,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44768,
    "c": 0.13806,
    "h": 263.7
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#2B4FA0
secondary
#BFA468
accent
#B247E1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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