#2B4B9A#2B4B9A

#2B4B9A is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.135 H 264.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2B4B9A
RGBrgb(43, 75, 154)
HSLhsl(223, 56%, 39%)
HSVhsv(223, 72%, 60%)
CMYKcmyk(72.1%, 51.3%, 0%, 39.6%)
CIE-LABlab(33.73, 16.41, -46.67)
CIE-LCHlch(33.73, 49.47, 289.38°)
OKLaboklab(43.45% -0.0123 -0.1341)
OKLCHoklch(43.45% 0.135 264.8)
XYZxyz(9.3430, 7.8779, 31.5938)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B9A #9A7A2B
analogous
#2B829A #2B4B9A #422B9A
triadic
#2B4B9A #9A2B4B #4B9A2B
tetradic
#2B4B9A #9A2B82 #9A7A2B #2B9A42
square
#2B4B9A #9A2B82 #9A7A2B #2B9A42
split-complementary
#2B4B9A #9A422B #829A2B
monochromatic
#101C3A #1E346A #2B4B9A #3A63C8 #6A89D5

Accessibility & contrast

On white

8.15
#2B4B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B4B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B9A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B9A#FFFFFF#000000##FFFFFF
##2B4B9A1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4b9a;
/* rgb */ color: rgb(43, 75, 154);
/* oklch */ color: oklch(43.4% 0.135 264.8);
Tailwind
colors: {
  custom: {
    50: '#737cb8',
    500: '#2b4b9a',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b9a;
$custom-light: #737cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b9a",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 154
  },
  "hsl": {
    "h": 222.703,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43446,
    "c": 0.13462,
    "h": 264.8
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#2B4B9A
secondary
#BCA365
accent
#B448E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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