#2B5396#2B5396

#2B5396 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.119 H 260.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2B5396
RGBrgb(43, 83, 150)
HSLhsl(218, 55%, 38%)
HSVhsv(218, 71%, 59%)
CMYKcmyk(71.3%, 44.7%, 0%, 41.2%)
CIE-LABlab(35.79, 9.55, -40.93)
CIE-LCHlch(35.79, 42.03, 283.13°)
OKLaboklab(44.95% -0.0204 -0.117)
OKLCHoklch(44.95% 0.119 260.1)
XYZxyz(9.5926, 8.9011, 30.0608)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5396 #966E2B
analogous
#2B8896 #2B5396 #382B96
triadic
#2B5396 #962B53 #53962B
tetradic
#2B5396 #962B88 #966E2B #2B9638
square
#2B5396 #962B88 #966E2B #2B9638
split-complementary
#2B5396 #96382B #88962B
monochromatic
#101E37 #1D3966 #2B5396 #396DC6 #6890D4

Accessibility & contrast

On white

7.55
#2B5396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2B5396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5396
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5396#FFFFFF#000000##FFFFFF
##2B53961.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325999
Deuteranopia (green-blind)
#1F5095
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b5396;
/* rgb */ color: rgb(43, 83, 150);
/* oklch */ color: oklch(44.9% 0.119 260.1);
Tailwind
colors: {
  custom: {
    50: '#7282b5',
    500: '#2b5396',
    950: '#000000',
  },
}
SCSS
$custom: #2b5396;
$custom-light: #7282b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5396",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 150
  },
  "hsl": {
    "h": 217.57,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44945,
    "c": 0.11881,
    "h": 260.1
  },
  "luminance": 0.08902
}

Semantic roles & 50–950 ramp

primary
#2B5396
secondary
#BA9963
accent
#A749DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B5396

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

Preview Lab → · Contrast checker → · Palette generator →

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