#2B5AB7#2B5AB7

#2B5AB7 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.9% C 0.156 H 262.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2B5AB7
RGBrgb(43, 90, 183)
HSLhsl(220, 62%, 44%)
HSVhsv(220, 77%, 72%)
CMYKcmyk(76.5%, 50.8%, 0%, 28.2%)
CIE-LABlab(39.99, 17.58, -53.83)
CIE-LCHlch(39.99, 56.63, 288.09°)
OKLaboklab(48.86% -0.0214 -0.1548)
OKLCHoklch(48.86% 0.156 262.1)
XYZxyz(13.1966, 11.2433, 46.2652)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AB7 #B7882B
analogous
#2BA0B7 #2B5AB7 #422BB7
triadic
#2B5AB7 #B72B5A #5AB72B
tetradic
#2B5AB7 #B72BA0 #B7882B #2BB742
square
#2B5AB7 #B72BA0 #B7882B #2BB742
split-complementary
#2B5AB7 #B7422B #A0B72B
monochromatic
#142954 #1F4285 #2B5AB7 #4B79D5 #7C9EE0

Accessibility & contrast

On white

6.46
#2B5AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2B5AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AB7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AB7#FFFFFF#000000##FFFFFF
##2B5AB71.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5ab7;
/* rgb */ color: rgb(43, 90, 183);
/* oklch */ color: oklch(48.9% 0.156 262.1);
Tailwind
colors: {
  custom: {
    50: '#7988cd',
    500: '#2b5ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ab7;
$custom-light: #7988cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ab7",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 183
  },
  "hsl": {
    "h": 219.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48862,
    "c": 0.15632,
    "h": 262.1
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#2B5AB7
secondary
#C9AD75
accent
#AF43E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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