#2B5098#2B5098

#2B5098 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.125 H 262.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2B5098
RGBrgb(43, 80, 152)
HSLhsl(220, 56%, 38%)
HSVhsv(220, 72%, 60%)
CMYKcmyk(71.7%, 47.4%, 0%, 40.4%)
CIE-LABlab(35.04, 12.30, -43.35)
CIE-LCHlch(35.04, 45.06, 285.84°)
OKLaboklab(44.4% -0.0172 -0.1242)
OKLCHoklch(44.4% 0.125 262.1)
XYZxyz(9.5304, 8.5169, 30.8413)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5098 #98732B
analogous
#2B8698 #2B5098 #3C2B98
triadic
#2B5098 #982B50 #50982B
tetradic
#2B5098 #982B86 #98732B #2B983C
square
#2B5098 #982B86 #98732B #2B983C
split-complementary
#2B5098 #983C2B #86982B
monochromatic
#101E39 #1E3768 #2B5098 #3969C7 #698DD5

Accessibility & contrast

On white

7.77
#2B5098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2B5098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5098
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5098#FFFFFF#000000##FFFFFF
##2B50981.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#134E97
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5098;
/* rgb */ color: rgb(43, 80, 152);
/* oklch */ color: oklch(44.4% 0.125 262.1);
Tailwind
colors: {
  custom: {
    50: '#7280b7',
    500: '#2b5098',
    950: '#000000',
  },
}
SCSS
$custom: #2b5098;
$custom-light: #7280b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5098",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 219.633,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.12539,
    "h": 262.1
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#2B5098
secondary
#BB9D64
accent
#AC49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B5098

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

Preview Lab → · Contrast checker → · Palette generator →

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