#2B5394#2B5394

#2B5394 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.116 H 259.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2B5394
RGBrgb(43, 83, 148)
HSLhsl(217, 55%, 37%)
HSVhsv(217, 71%, 58%)
CMYKcmyk(70.9%, 43.9%, 0%, 42%)
CIE-LABlab(35.67, 8.78, -39.92)
CIE-LCHlch(35.67, 40.87, 282.41°)
OKLaboklab(44.81% -0.0208 -0.1141)
OKLCHoklch(44.81% 0.116 259.7)
XYZxyz(9.4329, 8.8372, 29.2199)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5394 #946C2B
analogous
#2B8794 #2B5394 #382B94
triadic
#2B5394 #942B53 #53942B
tetradic
#2B5394 #942B87 #946C2B #2B9438
square
#2B5394 #942B87 #946C2B #2B9438
split-complementary
#2B5394 #94382B #87942B
monochromatic
#0F1E35 #1D3865 #2B5394 #396EC3 #6790D3

Accessibility & contrast

On white

7.59
#2B5394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2B5394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5394
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5394#FFFFFF#000000##FFFFFF
##2B53941.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345997
Deuteranopia (green-blind)
#224F93
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b5394;
/* rgb */ color: rgb(43, 83, 148);
/* oklch */ color: oklch(44.8% 0.116 259.7);
Tailwind
colors: {
  custom: {
    50: '#7182b4',
    500: '#2b5394',
    950: '#000000',
  },
}
SCSS
$custom: #2b5394;
$custom-light: #7182b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5394",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 148
  },
  "hsl": {
    "h": 217.143,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44809,
    "c": 0.11595,
    "h": 259.7
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#2B5394
secondary
#B99862
accent
#A649DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B5394

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

Preview Lab → · Contrast checker → · Palette generator →

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