#2B4581#2B4581

#2B4581 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.106 H 264.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2B4581
RGBrgb(43, 69, 129)
HSLhsl(222, 50%, 34%)
HSVhsv(222, 67%, 51%)
CMYKcmyk(66.7%, 46.5%, 0%, 49.4%)
CIE-LABlab(30.29, 10.91, -36.87)
CIE-LCHlch(30.29, 38.45, 286.49°)
OKLaboklab(40.28% -0.0101 -0.1053)
OKLCHoklch(40.28% 0.106 264.5)
XYZxyz(7.0855, 6.3542, 21.6177)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4581 #81672B
analogous
#2B7081 #2B4581 #3C2B81
triadic
#2B4581 #812B45 #45812B
tetradic
#2B4581 #812B70 #81672B #2B813C
square
#2B4581 #812B70 #81672B #2B813C
split-complementary
#2B4581 #813C2B #70812B
monochromatic
#0C1425 #1C2C53 #2B4581 #3A5EAF #5D7EC9

Accessibility & contrast

On white

9.25
#2B4581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B4581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4581
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4581#FFFFFF#000000##FFFFFF
##2B45811.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C83
Deuteranopia (green-blind)
#1A4480
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4581;
/* rgb */ color: rgb(43, 69, 129);
/* oklch */ color: oklch(40.3% 0.106 264.5);
Tailwind
colors: {
  custom: {
    50: '#6e78a6',
    500: '#2b4581',
    950: '#000000',
  },
}
SCSS
$custom: #2b4581;
$custom-light: #6e78a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4581",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 129
  },
  "hsl": {
    "h": 221.86,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40277,
    "c": 0.10581,
    "h": 264.5
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#2B4581
secondary
#AF9559
accent
#AF4EDA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B4581

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

Preview Lab → · Contrast checker → · Palette generator →

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