#2B5299#2B5299

#2B5299 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.124 H 261.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2B5299
RGBrgb(43, 82, 153)
HSLhsl(219, 56%, 38%)
HSVhsv(219, 72%, 60%)
CMYKcmyk(71.9%, 46.4%, 0%, 40%)
CIE-LABlab(35.69, 11.36, -42.91)
CIE-LCHlch(35.69, 44.39, 284.82°)
OKLaboklab(44.93% -0.0189 -0.1229)
OKLCHoklch(44.93% 0.124 261.3)
XYZxyz(9.7613, 8.8471, 31.3240)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5299 #99722B
analogous
#2B8999 #2B5299 #3B2B99
triadic
#2B5299 #992B52 #52992B
tetradic
#2B5299 #992B89 #99722B #2B993B
square
#2B5299 #992B89 #99722B #2B993B
split-complementary
#2B5299 #993B2B #89992B
monochromatic
#101F39 #1E3869 #2B5299 #3A6CC8 #6990D5

Accessibility & contrast

On white

7.58
#2B5299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5299
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5299#FFFFFF#000000##FFFFFF
##2B52991.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599C
Deuteranopia (green-blind)
#184F98
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b5299;
/* rgb */ color: rgb(43, 82, 153);
/* oklch */ color: oklch(44.9% 0.124 261.3);
Tailwind
colors: {
  custom: {
    50: '#7282b7',
    500: '#2b5299',
    950: '#000000',
  },
}
SCSS
$custom: #2b5299;
$custom-light: #7282b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5299",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 218.727,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44926,
    "c": 0.12433,
    "h": 261.3
  },
  "luminance": 0.08848
}

Semantic roles & 50–950 ramp

primary
#2B5299
secondary
#BC9D64
accent
#AA48DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B5299

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

Preview Lab → · Contrast checker → · Palette generator →

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