#2B5AA5#2B5AA5

#2B5AA5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.131 H 259.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2B5AA5
RGBrgb(43, 90, 165)
HSLhsl(217, 59%, 41%)
HSVhsv(217, 74%, 65%)
CMYKcmyk(73.9%, 45.5%, 0%, 35.3%)
CIE-LABlab(38.80, 10.69, -45.12)
CIE-LCHlch(38.80, 46.36, 283.33°)
OKLaboklab(47.57% -0.0241 -0.1292)
OKLCHoklch(47.57% 0.131 259.4)
XYZxyz(11.4415, 10.5413, 37.0217)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AA5 #A5762B
analogous
#2B97A5 #2B5AA5 #392BA5
triadic
#2B5AA5 #A52B5A #5AA52B
tetradic
#2B5AA5 #A52B97 #A5762B #2BA539
square
#2B5AA5 #A52B97 #A5762B #2BA539
split-complementary
#2B5AA5 #A5392B #97A52B
monochromatic
#122544 #1E4074 #2B5AA5 #4076CD #7199DA

Accessibility & contrast

On white

6.76
#2B5AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2B5AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AA5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AA5#FFFFFF#000000##FFFFFF
##2B5AA51.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A8
Deuteranopia (green-blind)
#1B56A3
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b5aa5;
/* rgb */ color: rgb(43, 90, 165);
/* oklch */ color: oklch(47.6% 0.131 259.4);
Tailwind
colors: {
  custom: {
    50: '#7588c0',
    500: '#2b5aa5',
    950: '#000000',
  },
}
SCSS
$custom: #2b5aa5;
$custom-light: #7588c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5aa5",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 216.885,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.13145,
    "h": 259.4
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#2B5AA5
secondary
#C1A06B
accent
#A646E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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