#2B4A86#2B4A86

#2B4A86 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.107 H 262.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2B4A86
RGBrgb(43, 74, 134)
HSLhsl(220, 51%, 35%)
HSVhsv(220, 68%, 53%)
CMYKcmyk(67.9%, 44.8%, 0%, 47.5%)
CIE-LABlab(32.10, 9.44, -37.06)
CIE-LCHlch(32.10, 38.24, 284.29°)
OKLaboklab(41.78% -0.0145 -0.1058)
OKLCHoklch(41.78% 0.107 262.2)
XYZxyz(7.7466, 7.1316, 23.5179)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A86 #86672B
analogous
#2B7886 #2B4A86 #392B86
triadic
#2B4A86 #862B4A #4A862B
tetradic
#2B4A86 #862B78 #86672B #2B8639
square
#2B4A86 #862B78 #86672B #2B8639
split-complementary
#2B4A86 #86392B #78862B
monochromatic
#0D1729 #1C3058 #2B4A86 #3A64B4 #6084CC

Accessibility & contrast

On white

8.65
#2B4A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2B4A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A86
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A86#FFFFFF#000000##FFFFFF
##2B4A861.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5088
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4a86;
/* rgb */ color: rgb(43, 74, 134);
/* oklch */ color: oklch(41.8% 0.107 262.2);
Tailwind
colors: {
  custom: {
    50: '#6f7ca9',
    500: '#2b4a86',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a86;
$custom-light: #6f7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a86",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 134
  },
  "hsl": {
    "h": 219.56,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41776,
    "c": 0.1068,
    "h": 262.2
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#2B4A86
secondary
#B2945B
accent
#AB4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4A86

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

Preview Lab → · Contrast checker → · Palette generator →

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