#2B4E89#2B4E89

#2B4E89 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.106 H 260.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2B4E89
RGBrgb(43, 78, 137)
HSLhsl(218, 52%, 35%)
HSVhsv(218, 69%, 54%)
CMYKcmyk(68.6%, 43.1%, 0%, 46.3%)
CIE-LABlab(33.49, 7.90, -36.69)
CIE-LCHlch(33.49, 37.53, 282.16°)
OKLaboklab(42.91% -0.0181 -0.1046)
OKLCHoklch(42.91% 0.106 260.2)
XYZxyz(8.2344, 7.7677, 24.7274)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E89 #89662B
analogous
#2B7D89 #2B4E89 #372B89
triadic
#2B4E89 #892B4E #4E892B
tetradic
#2B4E89 #892B7D #89662B #2B8937
square
#2B4E89 #892B7D #89662B #2B8937
split-complementary
#2B4E89 #89372B #7D892B
monochromatic
#0E192C #1C335A #2B4E89 #3A69B8 #6189CD

Accessibility & contrast

On white

8.22
#2B4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2B4E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E89
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E89#FFFFFF#000000##FFFFFF
##2B4E891.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538B
Deuteranopia (green-blind)
#244B88
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4e89;
/* rgb */ color: rgb(43, 78, 137);
/* oklch */ color: oklch(42.9% 0.106 260.2);
Tailwind
colors: {
  custom: {
    50: '#6f7fac',
    500: '#2b4e89',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e89;
$custom-light: #6f7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e89",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 217.66,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42909,
    "c": 0.1062,
    "h": 260.2
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#2B4E89
secondary
#B3935C
accent
#A64CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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