#2B5CA5#2B5CA5

#2B5CA5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.0% C 0.129 H 258.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2B5CA5
RGBrgb(43, 92, 165)
HSLhsl(216, 59%, 41%)
HSVhsv(216, 74%, 65%)
CMYKcmyk(73.9%, 44.2%, 0%, 35.3%)
CIE-LABlab(39.38, 9.38, -44.18)
CIE-LCHlch(39.38, 45.16, 281.99°)
OKLaboklab(48.02% -0.026 -0.1264)
OKLCHoklch(48.02% 0.129 258.4)
XYZxyz(11.6125, 10.8832, 37.0787)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CA5 #A5742B
analogous
#2B99A5 #2B5CA5 #372BA5
triadic
#2B5CA5 #A52B5C #5CA52B
tetradic
#2B5CA5 #A52B99 #A5742B #2BA537
square
#2B5CA5 #A52B99 #A5742B #2BA537
split-complementary
#2B5CA5 #A5372B #99A52B
monochromatic
#122644 #1E4174 #2B5CA5 #4079CD #719BDA

Accessibility & contrast

On white

6.61
#2B5CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2B5CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CA5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CA5#FFFFFF#000000##FFFFFF
##2B5CA51.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#2158A4
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5ca5;
/* rgb */ color: rgb(43, 92, 165);
/* oklch */ color: oklch(48.0% 0.129 258.4);
Tailwind
colors: {
  custom: {
    50: '#7589c0',
    500: '#2b5ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ca5;
$custom-light: #7589c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ca5",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 215.902,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4802,
    "c": 0.12906,
    "h": 258.4
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#2B5CA5
secondary
#C19E6B
accent
#A346E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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