#2B4E9C#2B4E9C

#2B4E9C is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.134 H 263.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2B4E9C
RGBrgb(43, 78, 156)
HSLhsl(221, 57%, 39%)
HSVhsv(221, 72%, 61%)
CMYKcmyk(72.4%, 50%, 0%, 38.8%)
CIE-LABlab(34.73, 15.17, -46.27)
CIE-LCHlch(34.73, 48.69, 288.15°)
OKLaboklab(44.25% -0.0147 -0.1328)
OKLCHoklch(44.25% 0.134 263.7)
XYZxyz(9.7193, 8.3617, 32.5478)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E9C #9C792B
analogous
#2B879C #2B4E9C #412B9C
triadic
#2B4E9C #9C2B4E #4E9C2B
tetradic
#2B4E9C #9C2B87 #9C792B #2B9C41
square
#2B4E9C #9C2B87 #9C792B #2B9C41
split-complementary
#2B4E9C #9C412B #879C2B
monochromatic
#111E3C #1E366C #2B4E9C #3B67C9 #6B8CD6

Accessibility & contrast

On white

7.86
#2B4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4E9C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E9C#FFFFFF#000000##FFFFFF
##2B4E9C1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4e9c;
/* rgb */ color: rgb(43, 78, 156);
/* oklch */ color: oklch(44.3% 0.134 263.7);
Tailwind
colors: {
  custom: {
    50: '#737fba',
    500: '#2b4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e9c;
$custom-light: #737fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e9c",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 221.416,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44251,
    "c": 0.13364,
    "h": 263.7
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

primary
#2B4E9C
secondary
#BDA266
accent
#B148E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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