#2B4C9D#2B4C9D

#2B4C9D is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.138 H 264.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2B4C9D
RGBrgb(43, 76, 157)
HSLhsl(223, 57%, 39%)
HSVhsv(223, 73%, 62%)
CMYKcmyk(72.6%, 51.6%, 0%, 38.4%)
CIE-LABlab(34.22, 16.89, -47.68)
CIE-LCHlch(34.22, 50.59, 289.51°)
OKLaboklab(43.89% -0.0128 -0.137)
OKLCHoklch(43.89% 0.138 264.7)
XYZxyz(9.6644, 8.1158, 32.9489)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C9D #9D7C2B
analogous
#2B859D #2B4C9D #432B9D
triadic
#2B4C9D #9D2B4C #4C9D2B
tetradic
#2B4C9D #9D2B85 #9D7C2B #2B9D43
square
#2B4C9D #9D2B85 #9D7C2B #2B9D43
split-complementary
#2B4C9D #9D432B #859D2B
monochromatic
#111D3D #1E356D #2B4C9D #3C65CA #6C8BD7

Accessibility & contrast

On white

8.00
#2B4C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2B4C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C9D
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C9D#FFFFFF#000000##FFFFFF
##2B4C9D1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4c9d;
/* rgb */ color: rgb(43, 76, 157);
/* oklch */ color: oklch(43.9% 0.138 264.7);
Tailwind
colors: {
  custom: {
    50: '#747dba',
    500: '#2b4c9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c9d;
$custom-light: #747dba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c9d",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 222.632,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43891,
    "c": 0.13762,
    "h": 264.7
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#2B4C9D
secondary
#BDA466
accent
#B448E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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