#2B4594#2B4594

#2B4594 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.134 H 266.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2B4594
RGBrgb(43, 69, 148)
HSLhsl(225, 55%, 37%)
HSVhsv(225, 71%, 58%)
CMYKcmyk(70.9%, 53.4%, 0%, 42%)
CIE-LABlab(31.59, 18.16, -46.47)
CIE-LCHlch(31.59, 49.89, 291.35°)
OKLaboklab(41.69% -0.0075 -0.1336)
OKLCHoklch(41.69% 0.134 266.8)
XYZxyz(8.4678, 6.9071, 28.8982)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4594 #947A2B
analogous
#2B7994 #2B4594 #462B94
triadic
#2B4594 #942B45 #45942B
tetradic
#2B4594 #942B79 #947A2B #2B9446
square
#2B4594 #942B79 #947A2B #2B9446
split-complementary
#2B4594 #94462B #79942B
monochromatic
#0F1935 #1D2F65 #2B4594 #395BC3 #6781D3

Accessibility & contrast

On white

8.82
#2B4594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B4594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4594
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4594#FFFFFF#000000##FFFFFF
##2B45941.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114F97
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4594;
/* rgb */ color: rgb(43, 69, 148);
/* oklch */ color: oklch(41.7% 0.134 266.8);
Tailwind
colors: {
  custom: {
    50: '#7278b4',
    500: '#2b4594',
    950: '#000000',
  },
}
SCSS
$custom: #2b4594;
$custom-light: #7278b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4594",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 225.143,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4169,
    "c": 0.13378,
    "h": 266.8
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#2B4594
secondary
#B9A362
accent
#B949DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4594

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

Preview Lab → · Contrast checker → · Palette generator →

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