#2B4D9D#2B4D9D

#2B4D9D is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.136 H 264.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2B4D9D
RGBrgb(43, 77, 157)
HSLhsl(222, 57%, 39%)
HSVhsv(222, 73%, 62%)
CMYKcmyk(72.6%, 51%, 0%, 38.4%)
CIE-LABlab(34.51, 16.22, -47.22)
CIE-LCHlch(34.51, 49.93, 288.96°)
OKLaboklab(44.11% -0.0137 -0.1356)
OKLCHoklch(44.11% 0.136 264.2)
XYZxyz(9.7338, 8.2546, 32.9721)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D9D #9D7B2B
analogous
#2B869D #2B4D9D #422B9D
triadic
#2B4D9D #9D2B4D #4D9D2B
tetradic
#2B4D9D #9D2B86 #9D7B2B #2B9D42
square
#2B4D9D #9D2B86 #9D7B2B #2B9D42
split-complementary
#2B4D9D #9D422B #869D2B
monochromatic
#111E3D #1E356D #2B4D9D #3C66CA #6C8CD7

Accessibility & contrast

On white

7.92
#2B4D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B4D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D9D
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D9D#FFFFFF#000000##FFFFFF
##2B4D9D1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4d9d;
/* rgb */ color: rgb(43, 77, 157);
/* oklch */ color: oklch(44.1% 0.136 264.2);
Tailwind
colors: {
  custom: {
    50: '#747eba',
    500: '#2b4d9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d9d;
$custom-light: #747eba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d9d",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 222.105,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44108,
    "c": 0.13634,
    "h": 264.2
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#2B4D9D
secondary
#BDA366
accent
#B348E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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