#2B4E86#2B4E86

#2B4E86 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.102 H 259.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2B4E86
RGBrgb(43, 78, 134)
HSLhsl(217, 51%, 35%)
HSVhsv(217, 68%, 53%)
CMYKcmyk(67.9%, 41.8%, 0%, 47.5%)
CIE-LABlab(33.31, 6.77, -35.13)
CIE-LCHlch(33.31, 35.78, 280.90°)
OKLaboklab(42.71% -0.0187 -0.1001)
OKLCHoklch(42.71% 0.102 259.4)
XYZxyz(8.0222, 7.6828, 23.6098)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E86 #86632B
analogous
#2B7C86 #2B4E86 #362B86
triadic
#2B4E86 #862B4E #4E862B
tetradic
#2B4E86 #862B7C #86632B #2B8636
square
#2B4E86 #862B7C #86632B #2B8636
split-complementary
#2B4E86 #86362B #7C862B
monochromatic
#0D1829 #1C3358 #2B4E86 #3A69B4 #6089CC

Accessibility & contrast

On white

8.28
#2B4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E86
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E86#FFFFFF#000000##FFFFFF
##2B4E861.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355388
Deuteranopia (green-blind)
#274A85
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4e86;
/* rgb */ color: rgb(43, 78, 134);
/* oklch */ color: oklch(42.7% 0.102 259.4);
Tailwind
colors: {
  custom: {
    50: '#6f7fa9',
    500: '#2b4e86',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e86;
$custom-light: #6f7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e86",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 216.923,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.10183,
    "h": 259.4
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#2B4E86
secondary
#B2905B
accent
#A44DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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