#2B5BBA#2B5BBA

#2B5BBA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.159 H 262.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2B5BBA
RGBrgb(43, 91, 186)
HSLhsl(220, 62%, 45%)
HSVhsv(220, 77%, 73%)
CMYKcmyk(76.9%, 51.1%, 0%, 27.1%)
CIE-LABlab(40.47, 18.08, -54.80)
CIE-LCHlch(40.47, 57.70, 288.26°)
OKLaboklab(49.3% -0.0218 -0.1577)
OKLCHoklch(49.3% 0.159 262.1)
XYZxyz(13.5971, 11.5394, 47.9556)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BBA #BA8A2B
analogous
#2BA3BA #2B5BBA #432BBA
triadic
#2B5BBA #BA2B5B #5BBA2B
tetradic
#2B5BBA #BA2BA3 #BA8A2B #2BBA43
square
#2B5BBA #BA2BA3 #BA8A2B #2BBA43
split-complementary
#2B5BBA #BA432B #A3BA2B
monochromatic
#142A57 #204388 #2B5BBA #4C7BD6 #7E9FE1

Accessibility & contrast

On white

6.35
#2B5BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2B5BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BBA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BBA#FFFFFF#000000##FFFFFF
##2B5BBA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5bba;
/* rgb */ color: rgb(43, 91, 186);
/* oklch */ color: oklch(49.3% 0.159 262.1);
Tailwind
colors: {
  custom: {
    50: '#7988cf',
    500: '#2b5bba',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bba;
$custom-light: #7988cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bba",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 219.86,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.493,
    "c": 0.15919,
    "h": 262.1
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

primary
#2B5BBA
secondary
#CAAE77
accent
#AF42E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B5BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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