#2B4789#2B4789

#2B4789 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.3% C 0.115 H 264.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2B4789
RGBrgb(43, 71, 137)
HSLhsl(222, 52%, 35%)
HSVhsv(222, 69%, 54%)
CMYKcmyk(68.6%, 48.2%, 0%, 46.3%)
CIE-LABlab(31.41, 12.60, -40.03)
CIE-LCHlch(31.41, 41.96, 287.48°)
OKLaboklab(41.3% -0.0108 -0.1146)
OKLCHoklch(41.3% 0.115 264.6)
XYZxyz(7.7633, 6.8255, 24.5704)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4789 #896D2B
analogous
#2B7689 #2B4789 #3E2B89
triadic
#2B4789 #892B47 #47892B
tetradic
#2B4789 #892B76 #896D2B #2B893E
square
#2B4789 #892B76 #896D2B #2B893E
split-complementary
#2B4789 #893E2B #76892B
monochromatic
#0E172C #1C2F5A #2B4789 #3A5FB8 #6181CD

Accessibility & contrast

On white

8.88
#2B4789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B4789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4789
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4789#FFFFFF#000000##FFFFFF
##2B47891.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8B
Deuteranopia (green-blind)
#124688
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4789;
/* rgb */ color: rgb(43, 71, 137);
/* oklch */ color: oklch(41.3% 0.115 264.6);
Tailwind
colors: {
  custom: {
    50: '#6f79ac',
    500: '#2b4789',
    950: '#000000',
  },
}
SCSS
$custom: #2b4789;
$custom-light: #6f79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4789",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 222.128,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41302,
    "c": 0.11509,
    "h": 264.6
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#2B4789
secondary
#B39A5C
accent
#B14CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4789

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

Preview Lab → · Contrast checker → · Palette generator →

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