#2B4D9C#2B4D9C

#2B4D9C is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.135 H 264.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2B4D9C
RGBrgb(43, 77, 156)
HSLhsl(222, 57%, 39%)
HSVhsv(222, 72%, 61%)
CMYKcmyk(72.4%, 50.6%, 0%, 38.8%)
CIE-LABlab(34.44, 15.84, -46.73)
CIE-LCHlch(34.44, 49.34, 288.73°)
OKLaboklab(44.03% -0.0138 -0.1342)
OKLCHoklch(44.03% 0.135 264.1)
XYZxyz(9.6488, 8.2206, 32.5243)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D9C #9C7A2B
analogous
#2B869C #2B4D9C #422B9C
triadic
#2B4D9C #9C2B4D #4D9C2B
tetradic
#2B4D9C #9C2B86 #9C7A2B #2B9C42
square
#2B4D9C #9C2B86 #9C7A2B #2B9C42
split-complementary
#2B4D9C #9C422B #869C2B
monochromatic
#111E3C #1E356C #2B4D9C #3B66C9 #6B8BD6

Accessibility & contrast

On white

7.94
#2B4D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2B4D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D9C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D9C#FFFFFF#000000##FFFFFF
##2B4D9C1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4d9c;
/* rgb */ color: rgb(43, 77, 156);
/* oklch */ color: oklch(44.0% 0.135 264.1);
Tailwind
colors: {
  custom: {
    50: '#737eba',
    500: '#2b4d9c',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d9c;
$custom-light: #737eba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d9c",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 221.947,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.13491,
    "h": 264.1
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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