#2B5AC1#2B5AC1

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

Color values

HEX#2B5AC1
RGBrgb(43, 90, 193)
HSLhsl(221, 64%, 46%)
HSVhsv(221, 78%, 76%)
CMYKcmyk(77.7%, 53.4%, 0%, 24.3%)
CIE-LABlab(40.69, 21.40, -58.53)
CIE-LCHlch(40.69, 62.32, 290.09°)
OKLaboklab(49.62% -0.0203 -0.1687)
OKLCHoklch(49.62% 0.17 263.2)
XYZxyz(14.2746, 11.6745, 51.9428)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AC1 #C1922B
analogous
#2BA5C1 #2B5AC1 #472BC1
triadic
#2B5AC1 #C12B5A #5AC12B
tetradic
#2B5AC1 #C12BA5 #C1922B #2BC147
square
#2B5AC1 #C12BA5 #C1922B #2BC147
split-complementary
#2B5AC1 #C1472B #A5C12B
monochromatic
#152B5D #20438F #2B5AC1 #517BD8 #83A1E3

Accessibility & contrast

On white

6.30
#2B5AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5AC1
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AC1#FFFFFF#000000##FFFFFF
##2B5AC11.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0767C5
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5ac1;
/* rgb */ color: rgb(43, 90, 193);
/* oklch */ color: oklch(49.6% 0.170 263.2);
Tailwind
colors: {
  custom: {
    50: '#7b88d4',
    500: '#2b5ac1',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ac1;
$custom-light: #7b88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ac1",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 193
  },
  "hsl": {
    "h": 221.2,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.16988,
    "h": 263.2
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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