#2B5AC2#2B5AC2

#2B5AC2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.171 H 263.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2B5AC2
RGBrgb(43, 90, 194)
HSLhsl(221, 64%, 46%)
HSVhsv(221, 78%, 76%)
CMYKcmyk(77.8%, 53.6%, 0%, 23.9%)
CIE-LABlab(40.77, 21.78, -58.99)
CIE-LCHlch(40.77, 62.88, 290.27°)
OKLaboklab(49.7% -0.0202 -0.17)
OKLCHoklch(49.7% 0.171 263.2)
XYZxyz(14.3866, 11.7193, 52.5323)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AC2 #C2932B
analogous
#2BA6C2 #2B5AC2 #482BC2
triadic
#2B5AC2 #C22B5A #5AC22B
tetradic
#2B5AC2 #C22BA6 #C2932B #2BC248
square
#2B5AC2 #C22BA6 #C2932B #2BC248
split-complementary
#2B5AC2 #C2482B #A6C22B
monochromatic
#152C5E #204390 #2B5AC2 #527CD9 #84A2E4

Accessibility & contrast

On white

6.28
#2B5AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2B5AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AC2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AC2#FFFFFF#000000##FFFFFF
##2B5AC21.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0367C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5ac2;
/* rgb */ color: rgb(43, 90, 194);
/* oklch */ color: oklch(49.7% 0.171 263.2);
Tailwind
colors: {
  custom: {
    50: '#7b88d5',
    500: '#2b5ac2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ac2;
$custom-light: #7b88d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ac2",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 221.325,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49702,
    "c": 0.17123,
    "h": 263.2
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

primary
#2B5AC2
secondary
#CDB47C
accent
#B341E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B5AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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