#2B4BA8#2B4BA8

#2B4BA8 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.154 H 265.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2B4BA8
RGBrgb(43, 75, 168)
HSLhsl(225, 59%, 41%)
HSVhsv(225, 74%, 66%)
CMYKcmyk(74.4%, 55.4%, 0%, 34.1%)
CIE-LABlab(34.75, 21.77, -53.44)
CIE-LCHlch(34.75, 57.70, 292.17°)
OKLaboklab(44.54% -0.0109 -0.154)
OKLCHoklch(44.54% 0.154 265.9)
XYZxyz(10.5777, 8.3718, 38.0966)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BA8 #A8882B
analogous
#2B8AA8 #2B4BA8 #4A2BA8
triadic
#2B4BA8 #A82B4B #4BA82B
tetradic
#2B4BA8 #A82B8A #A8882B #2BA84A
square
#2B4BA8 #A82B8A #A8882B #2BA84A
split-complementary
#2B4BA8 #A84A2B #8AA82B
monochromatic
#121F47 #1F3577 #2B4BA8 #4266CF #728DDB

Accessibility & contrast

On white

7.85
#2B4BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2B4BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BA8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BA8#FFFFFF#000000##FFFFFF
##2B4BA81.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4ba8;
/* rgb */ color: rgb(43, 75, 168);
/* oklch */ color: oklch(44.5% 0.154 265.9);
Tailwind
colors: {
  custom: {
    50: '#767cc3',
    500: '#2b4ba8',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ba8;
$custom-light: #767cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ba8",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 168
  },
  "hsl": {
    "h": 224.64,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44541,
    "c": 0.15436,
    "h": 265.9
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#2B4BA8
secondary
#C2AC6C
accent
#BA45E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B4BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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