#2B4089#2B4089

#2B4089 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.124 H 268.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2B4089
RGBrgb(43, 64, 137)
HSLhsl(227, 52%, 35%)
HSVhsv(227, 69%, 54%)
CMYKcmyk(68.6%, 53.3%, 0%, 46.3%)
CIE-LABlab(29.38, 17.37, -43.30)
CIE-LCHlch(29.38, 46.65, 291.86°)
OKLaboklab(39.76% -0.0039 -0.1243)
OKLCHoklch(39.76% 0.124 268.2)
XYZxyz(7.3435, 5.9858, 24.4304)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4089 #89742B
analogous
#2B6F89 #2B4089 #452B89
triadic
#2B4089 #892B40 #40892B
tetradic
#2B4089 #892B6F #89742B #2B8945
square
#2B4089 #892B6F #89742B #2B8945
split-complementary
#2B4089 #89452B #6F892B
monochromatic
#0E142C #1C2A5A #2B4089 #3A56B8 #6179CD

Accessibility & contrast

On white

9.56
#2B4089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B4089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4089
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4089#FFFFFF#000000##FFFFFF
##2B40891.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8C
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4089;
/* rgb */ color: rgb(43, 64, 137);
/* oklch */ color: oklch(39.8% 0.124 268.2);
Tailwind
colors: {
  custom: {
    50: '#7074ac',
    500: '#2b4089',
    950: '#000000',
  },
}
SCSS
$custom: #2b4089;
$custom-light: #7074ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4089",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 226.596,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39757,
    "c": 0.12437,
    "h": 268.2
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#2B4089
secondary
#B3A05C
accent
#BC4CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4089

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

Preview Lab → · Contrast checker → · Palette generator →

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