#2B4A89#2B4A89

#2B4A89 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.111 H 262.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2B4A89
RGBrgb(43, 74, 137)
HSLhsl(220, 52%, 35%)
HSVhsv(220, 69%, 54%)
CMYKcmyk(68.6%, 46%, 0%, 46.3%)
CIE-LABlab(32.29, 10.58, -38.60)
CIE-LCHlch(32.29, 40.03, 285.32°)
OKLaboklab(41.98% -0.0139 -0.1103)
OKLCHoklch(41.98% 0.111 262.8)
XYZxyz(7.9588, 7.2165, 24.6356)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A89 #896A2B
analogous
#2B7989 #2B4A89 #3B2B89
triadic
#2B4A89 #892B4A #4A892B
tetradic
#2B4A89 #892B79 #896A2B #2B893B
square
#2B4A89 #892B79 #896A2B #2B893B
split-complementary
#2B4A89 #893B2B #79892B
monochromatic
#0E182C #1C315A #2B4A89 #3A63B8 #6185CD

Accessibility & contrast

On white

8.59
#2B4A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2B4A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A89
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A89#FFFFFF#000000##FFFFFF
##2B4A891.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518B
Deuteranopia (green-blind)
#1B4888
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4a89;
/* rgb */ color: rgb(43, 74, 137);
/* oklch */ color: oklch(42.0% 0.111 262.8);
Tailwind
colors: {
  custom: {
    50: '#6f7cac',
    500: '#2b4a89',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a89;
$custom-light: #6f7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a89",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 137
  },
  "hsl": {
    "h": 220.213,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.11121,
    "h": 262.8
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#2B4A89
secondary
#B3975C
accent
#AC4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4A89

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

Preview Lab → · Contrast checker → · Palette generator →

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