#2B5ABB#2B5ABB

#2B5ABB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.162 H 262.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2B5ABB
RGBrgb(43, 90, 187)
HSLhsl(220, 63%, 45%)
HSVhsv(220, 77%, 73%)
CMYKcmyk(77%, 51.9%, 0%, 26.7%)
CIE-LABlab(40.27, 19.11, -55.72)
CIE-LCHlch(40.27, 58.91, 288.93°)
OKLaboklab(49.16% -0.0209 -0.1604)
OKLCHoklch(49.16% 0.162 262.6)
XYZxyz(13.6189, 11.4122, 48.4891)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5ABB #BB8C2B
analogous
#2BA2BB #2B5ABB #442BBB
triadic
#2B5ABB #BB2B5A #5ABB2B
tetradic
#2B5ABB #BB2BA2 #BB8C2B #2BBB44
square
#2B5ABB #BB2BA2 #BB8C2B #2BBB44
split-complementary
#2B5ABB #BB442B #A2BB2B
monochromatic
#142A57 #204289 #2B5ABB #4D7AD6 #7F9FE2

Accessibility & contrast

On white

6.40
#2B5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2B5ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5ABB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5ABB#FFFFFF#000000##FFFFFF
##2B5ABB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5abb;
/* rgb */ color: rgb(43, 90, 187);
/* oklch */ color: oklch(49.2% 0.162 262.6);
Tailwind
colors: {
  custom: {
    50: '#7a88d0',
    500: '#2b5abb',
    950: '#000000',
  },
}
SCSS
$custom: #2b5abb;
$custom-light: #7a88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5abb",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 220.417,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.16177,
    "h": 262.6
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#2B5ABB
secondary
#CAAF78
accent
#B042E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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