#2B4481#2B4481

#2B4481 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.107 H 265.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2B4481
RGBrgb(43, 68, 129)
HSLhsl(223, 50%, 34%)
HSVhsv(223, 67%, 51%)
CMYKcmyk(66.7%, 47.3%, 0%, 49.4%)
CIE-LABlab(29.99, 11.59, -37.34)
CIE-LCHlch(29.99, 39.10, 287.24°)
OKLaboklab(40.05% -0.0091 -0.1067)
OKLCHoklch(40.05% 0.107 265.2)
XYZxyz(7.0245, 6.2322, 21.5974)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4481 #81682B
analogous
#2B6F81 #2B4481 #3D2B81
triadic
#2B4481 #812B44 #44812B
tetradic
#2B4481 #812B6F #81682B #2B813D
square
#2B4481 #812B6F #81682B #2B813D
split-complementary
#2B4481 #813D2B #6F812B
monochromatic
#0C1425 #1C2C53 #2B4481 #3A5CAF #5D7DC9

Accessibility & contrast

On white

9.35
#2B4481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2B4481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4481
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4481#FFFFFF#000000##FFFFFF
##2B44811.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B83
Deuteranopia (green-blind)
#174380
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4481;
/* rgb */ color: rgb(43, 68, 129);
/* oklch */ color: oklch(40.0% 0.107 265.2);
Tailwind
colors: {
  custom: {
    50: '#6e77a6',
    500: '#2b4481',
    950: '#000000',
  },
}
SCSS
$custom: #2b4481;
$custom-light: #6e77a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4481",
  "rgb": {
    "r": 43,
    "g": 68,
    "b": 129
  },
  "hsl": {
    "h": 222.558,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.10712,
    "h": 265.2
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#2B4481
secondary
#AF9659
accent
#B14EDA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B4481

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

Preview Lab → · Contrast checker → · Palette generator →

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