#2B5CA6#2B5CA6

#2B5CA6 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.1% C 0.130 H 258.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2B5CA6
RGBrgb(43, 92, 166)
HSLhsl(216, 59%, 41%)
HSVhsv(216, 74%, 65%)
CMYKcmyk(74.1%, 44.6%, 0%, 34.9%)
CIE-LABlab(39.45, 9.76, -44.67)
CIE-LCHlch(39.45, 45.73, 282.33°)
OKLaboklab(48.09% -0.0258 -0.1279)
OKLCHoklch(48.09% 0.13 258.6)
XYZxyz(11.7038, 10.9198, 37.5599)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CA6 #A6752B
analogous
#2B99A6 #2B5CA6 #382BA6
triadic
#2B5CA6 #A62B5C #5CA62B
tetradic
#2B5CA6 #A62B99 #A6752B #2BA638
square
#2B5CA6 #A62B99 #A6752B #2BA638
split-complementary
#2B5CA6 #A6382B #99A62B
monochromatic
#122645 #1E4175 #2B5CA6 #4179CE #719BDA

Accessibility & contrast

On white

6.60
#2B5CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5CA6
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CA6#FFFFFF#000000##FFFFFF
##2B5CA61.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A9
Deuteranopia (green-blind)
#1F58A5
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5ca6;
/* rgb */ color: rgb(43, 92, 166);
/* oklch */ color: oklch(48.1% 0.130 258.6);
Tailwind
colors: {
  custom: {
    50: '#7589c1',
    500: '#2b5ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ca6;
$custom-light: #7589c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ca6",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 216.098,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48088,
    "c": 0.13044,
    "h": 258.6
  },
  "luminance": 0.10921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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