#2B5CA7#2B5CA7

#2B5CA7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.132 H 258.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2B5CA7
RGBrgb(43, 92, 167)
HSLhsl(216, 59%, 41%)
HSVhsv(216, 74%, 65%)
CMYKcmyk(74.3%, 44.9%, 0%, 34.5%)
CIE-LABlab(39.51, 10.15, -45.16)
CIE-LCHlch(39.51, 46.29, 282.66°)
OKLaboklab(48.16% -0.0256 -0.1293)
OKLCHoklch(48.16% 0.132 258.8)
XYZxyz(11.7959, 10.9566, 38.0449)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CA7 #A7762B
analogous
#2B9AA7 #2B5CA7 #382BA7
triadic
#2B5CA7 #A72B5C #5CA72B
tetradic
#2B5CA7 #A72B9A #A7762B #2BA738
square
#2B5CA7 #A72B9A #A7762B #2BA738
split-complementary
#2B5CA7 #A7382B #9AA72B
monochromatic
#122646 #1E4176 #2B5CA7 #4179CE #729BDB

Accessibility & contrast

On white

6.58
#2B5CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2B5CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CA7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CA7#FFFFFF#000000##FFFFFF
##2B5CA71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663AA
Deuteranopia (green-blind)
#1E58A5
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5ca7;
/* rgb */ color: rgb(43, 92, 167);
/* oklch */ color: oklch(48.2% 0.132 258.8);
Tailwind
colors: {
  custom: {
    50: '#7589c1',
    500: '#2b5ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ca7;
$custom-light: #7589c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ca7",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 216.29,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48156,
    "c": 0.13183,
    "h": 258.8
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#2B5CA7
secondary
#C2A06C
accent
#A446E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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